#33255E#33255E

#33255E is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.4% C 0.097 H 291.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#33255E
RGBrgb(51, 37, 94)
HSLhsl(255, 44%, 26%)
HSVhsv(255, 61%, 37%)
CMYKcmyk(45.7%, 60.6%, 0%, 63.1%)
CIE-LABlab(19.37, 22.13, -31.94)
CIE-LCHlch(19.37, 38.86, 304.72°)
OKLaboklab(31.41% 0.035 -0.0909)
OKLCHoklch(31.41% 0.097 291.1)
XYZxyz(4.0466, 2.8350, 10.9215)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33255E #505E25
analogous
#25335E #33255E #4F255E
triadic
#33255E #5E3325 #255E33
tetradic
#33255E #5E2533 #505E25 #255E4F
square
#33255E #5E2533 #505E25 #255E4F
split-complementary
#33255E #5E4F25 #335E25
monochromatic
#0C0916 #1B1432 #33255E #4B368A #6348B6

Accessibility & contrast

On white

13.40
#33255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#33255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33255E
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33255E#FFFFFF#000000##FFFFFF
##33255E1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053060
Deuteranopia (green-blind)
#082E5D
Tritanopia (blue-blind)
#27313D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33255e;
/* rgb */ color: rgb(51, 37, 94);
/* oklch */ color: oklch(31.4% 0.097 291.1);
Tailwind
colors: {
  custom: {
    50: '#6e608c',
    500: '#33255e',
    950: '#000000',
  },
}
SCSS
$custom: #33255e;
$custom-light: #6e608c;
$custom-dark: #000000;
JSON
{
  "hex": "#33255e",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 254.737,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31414,
    "c": 0.09744,
    "h": 291.1
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#33255E
secondary
#81914D
accent
#D355B4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #33255E

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

Preview Lab → · Contrast checker → · Palette generator →

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