#39254B#39254B

#39254B is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.7% C 0.070 H 307.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#39254B
RGBrgb(57, 37, 75)
HSLhsl(272, 34%, 22%)
HSVhsv(272, 51%, 29%)
CMYKcmyk(24%, 50.7%, 0%, 70.6%)
CIE-LABlab(18.80, 18.19, -20.06)
CIE-LCHlch(18.80, 27.08, 312.20°)
OKLaboklab(30.75% 0.0422 -0.056)
OKLCHoklch(30.75% 0.07 307)
XYZxyz(3.6187, 2.7010, 6.9860)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39254B #374B25
analogous
#26254B #39254B #4B254A
triadic
#39254B #4B3925 #254B39
tetradic
#39254B #4B2625 #374B25 #254A4B
square
#39254B #4B2625 #374B25 #254A4B
split-complementary
#39254B #4A4B25 #254B26
monochromatic
#100A14 #1A1122 #39254B #583974 #774D9D

Accessibility & contrast

On white

13.63
#39254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#39254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39254B
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39254B#FFFFFF#000000##FFFFFF
##39254B1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4C
Deuteranopia (green-blind)
#212E4A
Tritanopia (blue-blind)
#362B34
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #39254b;
/* rgb */ color: rgb(57, 37, 75);
/* oklch */ color: oklch(30.7% 0.070 307.0);
Tailwind
colors: {
  custom: {
    50: '#70607d',
    500: '#39254b',
    950: '#000000',
  },
}
SCSS
$custom: #39254b;
$custom-light: #70607d;
$custom-dark: #000000;
JSON
{
  "hex": "#39254b",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 271.579,
    "s": 33.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30748,
    "c": 0.0701,
    "h": 307
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#39254B
secondary
#657E4E
accent
#CA5E91
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070509
muted
#7A797B

Preview Lab

Preview with #39254B

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

Preview Lab → · Contrast checker → · Palette generator →

#39254B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva