#33247B#33247B

#33247B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.140 H 283.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#33247B
RGBrgb(51, 36, 123)
HSLhsl(250, 55%, 31%)
HSVhsv(250, 71%, 48%)
CMYKcmyk(58.5%, 70.7%, 0%, 51.8%)
CIE-LABlab(21.56, 32.31, -47.19)
CIE-LCHlch(21.56, 57.19, 304.40°)
OKLaboklab(33.77% 0.0336 -0.1357)
OKLCHoklch(33.77% 0.14 283.9)
XYZxyz(5.5702, 3.3953, 19.0969)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33247B #6C7B24
analogous
#24407B #33247B #5E247B
triadic
#33247B #7B3324 #247B33
tetradic
#33247B #7B2440 #6C7B24 #247B5E
square
#33247B #7B2440 #6C7B24 #247B5E
split-complementary
#33247B #7B5E24 #407B24
monochromatic
#0C081C #1F164C #33247B #4732AA #644ECB

Accessibility & contrast

On white

12.51
#33247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#33247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33247B
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33247B#FFFFFF#000000##FFFFFF
##33247B1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#0F3B4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #33247b;
/* rgb */ color: rgb(51, 36, 123);
/* oklch */ color: oklch(33.8% 0.140 283.9);
Tailwind
colors: {
  custom: {
    50: '#7360a2',
    500: '#33247b',
    950: '#000000',
  },
}
SCSS
$custom: #33247b;
$custom-light: #7360a2;
$custom-dark: #000000;
JSON
{
  "hex": "#33247b",
  "rgb": {
    "r": 51,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 250.345,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33771,
    "c": 0.13984,
    "h": 283.9
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#33247B
secondary
#9DAD4D
accent
#DE4AC4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33247B

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

Preview Lab → · Contrast checker → · Palette generator →

#33247B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva