#33107E#33107E

#33107E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.164 H 286.9°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#33107E
RGBrgb(51, 16, 126)
HSLhsl(259, 77%, 28%)
HSVhsv(259, 87%, 49%)
CMYKcmyk(59.5%, 87.3%, 0%, 50.6%)
CIE-LABlab(18.28, 43.45, -54.50)
CIE-LCHlch(18.28, 69.70, 308.57°)
OKLaboklab(31.56% 0.0476 -0.1569)
OKLCHoklch(31.56% 0.164 286.9)
XYZxyz(5.3153, 2.5804, 19.9526)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33107E #5B7E10
analogous
#10247E #33107E #6A107E
triadic
#33107E #7E3310 #107E33
tetradic
#33107E #7E1024 #5B7E10 #107E6A
square
#33107E #7E1024 #5B7E10 #107E6A
split-complementary
#33107E #7E6A10 #247E10
monochromatic
#0B031B #1D0948 #33107E #4917B4 #6225E3

Accessibility & contrast

On white

13.85
#33107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#33107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33107E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33107E#FFFFFF#000000##FFFFFF
##33107E1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#0D3349
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #33107e;
/* rgb */ color: rgb(51, 16, 126);
/* oklch */ color: oklch(31.6% 0.164 286.9);
Tailwind
colors: {
  custom: {
    50: '#7555a5',
    500: '#33107e',
    950: '#000000',
  },
}
SCSS
$custom: #33107e;
$custom-light: #7555a5;
$custom-dark: #000000;
JSON
{
  "hex": "#33107e",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 259.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31559,
    "c": 0.16401,
    "h": 286.9
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#33107E
secondary
#8CB436
accent
#F434B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #33107E

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

Preview Lab → · Contrast checker → · Palette generator →

#33107E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva