#39225C#39225C

#39225C is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.4% C 0.100 H 298.8°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#39225C
RGBrgb(57, 34, 92)
HSLhsl(264, 46%, 25%)
HSVhsv(264, 63%, 36%)
CMYKcmyk(38%, 63%, 0%, 63.9%)
CIE-LABlab(19.17, 25.05, -30.91)
CIE-LCHlch(19.17, 39.78, 309.03°)
OKLaboklab(31.38% 0.0482 -0.0877)
OKLCHoklch(31.38% 0.1 298.8)
XYZxyz(4.1907, 2.7866, 10.4402)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39225C #455C22
analogous
#22285C #39225C #56225C
triadic
#39225C #5C3922 #225C39
tetradic
#39225C #5C2228 #455C22 #225C56
square
#39225C #5C2228 #455C22 #225C56
split-complementary
#39225C #5C5622 #285C22
monochromatic
#0E0816 #1D112F #39225C #553389 #7043B5

Accessibility & contrast

On white

13.48
#39225C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39225C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39225C#FFFFFF#000000##FFFFFF
##39225C1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042F5E
Deuteranopia (green-blind)
#0E2E5B
Tritanopia (blue-blind)
#312E3B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #39225c;
/* rgb */ color: rgb(57, 34, 92);
/* oklch */ color: oklch(31.4% 0.100 298.8);
Tailwind
colors: {
  custom: {
    50: '#725e8a',
    500: '#39225c',
    950: '#000000',
  },
}
SCSS
$custom: #39225c;
$custom-light: #725e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#39225c",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 92
  },
  "hsl": {
    "h": 263.793,
    "s": 46.032,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3138,
    "c": 0.10004,
    "h": 298.8
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #39225C

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

Preview Lab → · Contrast checker → · Palette generator →

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