#33247C#33247C

#33247C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.141 H 283.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#33247C
RGBrgb(51, 36, 124)
HSLhsl(250, 55%, 31%)
HSVhsv(250, 71%, 49%)
CMYKcmyk(58.9%, 71%, 0%, 51.4%)
CIE-LABlab(21.65, 32.64, -47.67)
CIE-LCHlch(21.65, 57.78, 304.40°)
OKLaboklab(33.87% 0.0334 -0.1372)
OKLCHoklch(33.87% 0.141 283.7)
XYZxyz(5.6331, 3.4204, 19.4283)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33247C #6D7C24
analogous
#24417C #33247C #5F247C
triadic
#33247C #7C3324 #247C33
tetradic
#33247C #7C2441 #6D7C24 #247C5F
square
#33247C #7C2441 #6D7C24 #247C5F
split-complementary
#33247C #7C5F24 #417C24
monochromatic
#0C081D #1F164D #33247C #4732AB #644FCC

Accessibility & contrast

On white

12.47
#33247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #33247C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33247C#FFFFFF#000000##FFFFFF
##33247C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#0D3B4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #33247c;
/* rgb */ color: rgb(51, 36, 124);
/* oklch */ color: oklch(33.9% 0.141 283.7);
Tailwind
colors: {
  custom: {
    50: '#7360a3',
    500: '#33247c',
    950: '#000000',
  },
}
SCSS
$custom: #33247c;
$custom-light: #7360a3;
$custom-dark: #000000;
JSON
{
  "hex": "#33247c",
  "rgb": {
    "r": 51,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 250.227,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33866,
    "c": 0.14118,
    "h": 283.7
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#33247C
secondary
#9EAE4D
accent
#DE49C5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33247C

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

Preview Lab → · Contrast checker → · Palette generator →

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