#39225A#39225A

#39225A is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.2% C 0.097 H 299.7°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#39225A
RGBrgb(57, 34, 90)
HSLhsl(265, 45%, 24%)
HSVhsv(265, 62%, 35%)
CMYKcmyk(36.7%, 62.2%, 0%, 64.7%)
CIE-LABlab(19.02, 24.46, -29.81)
CIE-LCHlch(19.02, 38.56, 309.37°)
OKLaboklab(31.23% 0.0482 -0.0845)
OKLCHoklch(31.23% 0.097 299.7)
XYZxyz(4.1044, 2.7521, 9.9858)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39225A #435A22
analogous
#22275A #39225A #55225A
triadic
#39225A #5A3922 #225A39
tetradic
#39225A #5A2227 #435A22 #225A55
square
#39225A #5A2227 #435A22 #225A55
split-complementary
#39225A #5A5522 #275A22
monochromatic
#0E0816 #1D112E #39225A #553386 #7144B3

Accessibility & contrast

On white

13.54
#39225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#39225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39225A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39225A#FFFFFF#000000##FFFFFF
##39225A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072E5C
Deuteranopia (green-blind)
#112E59
Tritanopia (blue-blind)
#322D3A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #39225a;
/* rgb */ color: rgb(57, 34, 90);
/* oklch */ color: oklch(31.2% 0.097 299.7);
Tailwind
colors: {
  custom: {
    50: '#725e89',
    500: '#39225a',
    950: '#000000',
  },
}
SCSS
$custom: #39225a;
$custom-light: #725e89;
$custom-dark: #000000;
JSON
{
  "hex": "#39225a",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 264.643,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31227,
    "c": 0.09724,
    "h": 299.7
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#39225A
secondary
#728E4A
accent
#D5539F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #39225A

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

Preview Lab → · Contrast checker → · Palette generator →

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