#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
RGBrgb(51, 1, 252)
HSLhsl(252, 99%, 50%)
HSVhsv(252, 100%, 99%)
CMYKcmyk(79.8%, 99.6%, 0%, 1.2%)
CIE-LABlab(33.46, 78.86, -104.19)
CIE-LCHlch(33.46, 130.67, 307.12°)
OKLaboklab(46.29% 0.0044 -0.3008)
OKLCHoklch(46.29% 0.301 270.8)
XYZxyz(18.9409, 7.7516, 92.5745)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##3301FC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.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

Preview Lab

Preview with #3301FC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3301FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva