#33255C#33255C

#33255C is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.3% C 0.094 H 291.7°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#33255C
RGBrgb(51, 37, 92)
HSLhsl(255, 43%, 25%)
HSVhsv(255, 60%, 36%)
CMYKcmyk(44.6%, 59.8%, 0%, 63.9%)
CIE-LABlab(19.22, 21.49, -30.86)
CIE-LCHlch(19.22, 37.60, 304.85°)
OKLaboklab(31.26% 0.035 -0.0877)
OKLCHoklch(31.26% 0.094 291.7)
XYZxyz(3.9580, 2.7995, 10.4550)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33255C #4E5C25
analogous
#25325C #33255C #4E255C
triadic
#33255C #5C3325 #255C33
tetradic
#33255C #5C2532 #4E5C25 #255C4E
square
#33255C #5C2532 #4E5C25 #255C4E
split-complementary
#33255C #5C4E25 #325C25
monochromatic
#0C0916 #1B1330 #33255C #4B3788 #6348B3

Accessibility & contrast

On white

13.46
#33255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#33255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33255C
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33255C#FFFFFF#000000##FFFFFF
##33255C1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5E
Deuteranopia (green-blind)
#0C2E5B
Tritanopia (blue-blind)
#28313C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #33255c;
/* rgb */ color: rgb(51, 37, 92);
/* oklch */ color: oklch(31.3% 0.094 291.7);
Tailwind
colors: {
  custom: {
    50: '#6e608a',
    500: '#33255c',
    950: '#000000',
  },
}
SCSS
$custom: #33255c;
$custom-light: #6e608a;
$custom-dark: #000000;
JSON
{
  "hex": "#33255c",
  "rgb": {
    "r": 51,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 255.273,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31257,
    "c": 0.09445,
    "h": 291.7
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#33255C
secondary
#7F8F4D
accent
#D255B3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #33255C

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

Preview Lab → · Contrast checker → · Palette generator →

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