#39225D#39225D

#39225D is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.101 H 298.3°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#39225D
RGBrgb(57, 34, 93)
HSLhsl(263, 46%, 25%)
HSVhsv(263, 63%, 36%)
CMYKcmyk(38.7%, 63.4%, 0%, 63.5%)
CIE-LABlab(19.24, 25.35, -31.45)
CIE-LCHlch(19.24, 40.39, 308.87°)
OKLaboklab(31.46% 0.0482 -0.0893)
OKLCHoklch(31.46% 0.101 298.3)
XYZxyz(4.2347, 2.8042, 10.6720)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39225D #465D22
analogous
#22285D #39225D #57225D
triadic
#39225D #5D3922 #225D39
tetradic
#39225D #5D2228 #465D22 #225D57
square
#39225D #5D2228 #465D22 #225D57
split-complementary
#39225D #5D5722 #285D22
monochromatic
#0E0816 #1E1230 #39225D #54328A #7043B7

Accessibility & contrast

On white

13.45
#39225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#39225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39225D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39225D#FFFFFF#000000##FFFFFF
##39225D1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F5F
Deuteranopia (green-blind)
#0C2E5C
Tritanopia (blue-blind)
#312E3C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #39225d;
/* rgb */ color: rgb(57, 34, 93);
/* oklch */ color: oklch(31.5% 0.101 298.3);
Tailwind
colors: {
  custom: {
    50: '#725e8b',
    500: '#39225d',
    950: '#000000',
  },
}
SCSS
$custom: #39225d;
$custom-light: #725e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#39225d",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 263.39,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31458,
    "c": 0.10144,
    "h": 298.3
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#39225D
secondary
#75914A
accent
#D652A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #39225D

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

Preview Lab → · Contrast checker → · Palette generator →

#39225D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva