#33247A#33247A

#33247A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.139 H 284.1°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#33247A
RGBrgb(51, 36, 122)
HSLhsl(250, 54%, 31%)
HSVhsv(250, 70%, 48%)
CMYKcmyk(58.2%, 70.5%, 0%, 52.2%)
CIE-LABlab(21.47, 31.98, -46.70)
CIE-LCHlch(21.47, 56.60, 304.40°)
OKLaboklab(33.68% 0.0337 -0.1343)
OKLCHoklch(33.68% 0.139 284.1)
XYZxyz(5.5079, 3.3704, 18.7689)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33247A #6B7A24
analogous
#24407A #33247A #5E247A
triadic
#33247A #7A3324 #247A33
tetradic
#33247A #7A2440 #6B7A24 #247A5E
square
#33247A #7A2440 #6B7A24 #247A5E
split-complementary
#33247A #7A5E24 #407A24
monochromatic
#0B081B #1F164B #33247A #4732A9 #644ECB

Accessibility & contrast

On white

12.54
#33247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#33247A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33247A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33247A#FFFFFF#000000##FFFFFF
##33247A1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#113A4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #33247a;
/* rgb */ color: rgb(51, 36, 122);
/* oklch */ color: oklch(33.7% 0.139 284.1);
Tailwind
colors: {
  custom: {
    50: '#7360a1',
    500: '#33247a',
    950: '#000000',
  },
}
SCSS
$custom: #33247a;
$custom-light: #7360a1;
$custom-dark: #000000;
JSON
{
  "hex": "#33247a",
  "rgb": {
    "r": 51,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 250.465,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.1385,
    "h": 284.1
  },
  "luminance": 0.03371
}

Semantic roles & 50–950 ramp

primary
#33247A
secondary
#9CAC4D
accent
#DE4AC4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #33247A

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

Preview Lab → · Contrast checker → · Palette generator →

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