#6830df
a balanced, vivid violet · warm · closest name: navy
RGB
104, 48, 223
HSL
259°, 73%, 53%
CMYK
53, 79, 0, 13
Luminance
0.1038
Every format
| HEX | #6830df |
| RGB | rgb(104, 48, 223) |
| HSL | hsl(259, 73%, 53%) |
| CMYK | cmyk(53%, 79%, 0%, 13%) |
| LAB | lab(38.5 62.8 -79.2) |
| LCH | lch(38.5 101.1 308.4) |
| OKLCH | oklch(0.499 0.241 288.9) |
Copy-ready code
/* CSS */
color: #6830df;
background-color: #6830df;
/* Tailwind (arbitrary) */
class="text-[#6830df] bg-[#6830df]"
/* SCSS */
$brand: #6830df;
/* SwiftUI */
Color(red: 0.408, green: 0.188, blue: 0.875)
/* Android */
Color.parseColor("#6830df")Accessibility — WCAG contrast
Aa
#6830df on white: 6.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#6830df on black: 3.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red40.8%
Green18.8%
Blue87.5%
CMYK percentages
Cyan53.4%
Magenta78.5%
Yellow0.0%
Key (black)12.5%
Color previews
#6830df text on a black background
contrast 3.08:1
Card sample
#6830df text on a white background
contrast 6.82:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6830df;
Background color
Panel with #6830df background
background-color: #6830df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6830df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(104, 48, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 48, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6830df; background: linear-gradient(135deg, #6830df, #DD30DF);