#39254E#39254E

#39254E is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.9% C 0.074 H 305.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#39254E
RGBrgb(57, 37, 78)
HSLhsl(269, 36%, 23%)
HSVhsv(269, 53%, 31%)
CMYKcmyk(26.9%, 52.6%, 0%, 69.4%)
CIE-LABlab(18.98, 19.02, -21.81)
CIE-LCHlch(18.98, 28.94, 311.10°)
OKLaboklab(30.94% 0.0427 -0.0611)
OKLCHoklch(30.94% 0.075 305)
XYZxyz(3.7238, 2.7431, 7.5395)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39254E #3A4E25
analogous
#25264E #39254E #4D254E
triadic
#39254E #4E3925 #254E39
tetradic
#39254E #4E2526 #3A4E25 #254E4D
square
#39254E #4E2526 #3A4E25 #254E4D
split-complementary
#39254E #4E4D25 #264E25
monochromatic
#0F0A15 #1B1124 #39254E #573978 #764CA1

Accessibility & contrast

On white

13.56
#39254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#39254E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39254E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39254E#FFFFFF#000000##FFFFFF
##39254E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E4F
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#362C35
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #39254e;
/* rgb */ color: rgb(57, 37, 78);
/* oklch */ color: oklch(30.9% 0.074 305.0);
Tailwind
colors: {
  custom: {
    50: '#716080',
    500: '#39254e',
    950: '#000000',
  },
}
SCSS
$custom: #39254e;
$custom-light: #716080;
$custom-dark: #000000;
JSON
{
  "hex": "#39254e",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 269.268,
    "s": 35.652,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3094,
    "c": 0.0745,
    "h": 305
  },
  "luminance": 0.02743
}

Semantic roles & 50–950 ramp

primary
#39254E
secondary
#68814E
accent
#CC5C95
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #39254E

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

Preview Lab → · Contrast checker → · Palette generator →

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