#39254F#39254F

#39254F is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.0% C 0.076 H 304.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#39254F
RGBrgb(57, 37, 79)
HSLhsl(269, 36%, 23%)
HSVhsv(269, 53%, 31%)
CMYKcmyk(27.8%, 53.2%, 0%, 69%)
CIE-LABlab(19.05, 19.31, -22.39)
CIE-LCHlch(19.05, 29.57, 310.77°)
OKLaboklab(31.01% 0.0428 -0.0627)
OKLCHoklch(31.01% 0.076 304.3)
XYZxyz(3.7599, 2.7575, 7.7298)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39254F #3B4F25
analogous
#25264F #39254F #4E254F
triadic
#39254F #4F3925 #254F39
tetradic
#39254F #4F2526 #3B4F25 #254F4E
square
#39254F #4F2526 #3B4F25 #254F4E
split-complementary
#39254F #4F4E25 #264F25
monochromatic
#0F0A15 #1B1125 #39254F #573979 #754CA2

Accessibility & contrast

On white

13.53
#39254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39254F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39254F#FFFFFF#000000##FFFFFF
##39254F1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E50
Deuteranopia (green-blind)
#1E2E4E
Tritanopia (blue-blind)
#352C36
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #39254f;
/* rgb */ color: rgb(57, 37, 79);
/* oklch */ color: oklch(31.0% 0.076 304.3);
Tailwind
colors: {
  custom: {
    50: '#716080',
    500: '#39254f',
    950: '#000000',
  },
}
SCSS
$custom: #39254f;
$custom-light: #716080;
$custom-dark: #000000;
JSON
{
  "hex": "#39254f",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 268.571,
    "s": 36.207,
    "l": 22.745
  },
  "oklch": {
    "l": 0.31006,
    "c": 0.07598,
    "h": 304.3
  },
  "luminance": 0.02758
}

Semantic roles & 50–950 ramp

primary
#39254F
secondary
#69824E
accent
#CC5C97
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #39254F

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

Preview Lab → · Contrast checker → · Palette generator →

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