#3301FC#3301FC
#3301FC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 46.3% C 0.301 H 270.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3301FC |
|---|---|
| RGB | rgb(51, 1, 252) |
| HSL | hsl(252, 99%, 50%) |
| HSV | hsv(252, 100%, 99%) |
| CMYK | cmyk(79.8%, 99.6%, 0%, 1.2%) |
| CIE-LAB | lab(33.46, 78.86, -104.19) |
| CIE-LCH | lch(33.46, 130.67, 307.12°) |
| OKLab | oklab(46.29% 0.0044 -0.3008) |
| OKLCH | oklch(46.29% 0.301 270.8) |
| XYZ | xyz(18.9409, 7.7516, 92.5745) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue
#0000FF
ΔE00 1.42
Primary Blue
#0804F9
ΔE00 1.66
Strong Blue
#0C06F7
ΔE00 1.75
Rich Blue
#021BF9
ΔE00 2.08
Blue Purple
#5A06EF
ΔE00 2.95
Blue Violet
#5D06E9
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3301FC #CAFC01
analogous
#014DFC #3301FC #B001FC
triadic
#3301FC #FC3301 #01FC33
tetradic
#3301FC #FC014D #CAFC01 #01FCB0
square
#3301FC #FC014D #CAFC01 #01FCB0
split-complementary
#3301FC #FCB001 #4DFC01
monochromatic
#1A0182 #2701BF #3301FC #633CFE #9479FE
Accessibility & contrast
On white
8.23
#3301FC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#3301FC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3301FC
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3301FC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3301FC | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059FF
Deuteranopia (green-blind)
#0043F8
Tritanopia (blue-blind)
#006994
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3301fc; /* rgb */ color: rgb(51, 1, 252); /* oklch */ color: oklch(46.3% 0.301 270.8);
Tailwind
colors: {
custom: {
50: '#915fff',
500: '#3301fc',
950: '#000000',
},
}SCSS
$custom: #3301fc; $custom-light: #915fff; $custom-dark: #000000;
JSON
{
"hex": "#3301fc",
"rgb": {
"r": 51,
"g": 1,
"b": 252
},
"hsl": {
"h": 251.952,
"s": 99.209,
"l": 49.608
},
"oklch": {
"l": 0.46295,
"c": 0.30079,
"h": 270.8
},
"luminance": 0.07754
}Semantic roles & 50–950 ramp
primary
#3301FC
secondary
#CFE673
accent
#FF29D4
background
#FAF6FF
surface
#F4EBFF
border
#CEC6D7
text
#100618
muted
#7F7A86