#39255E#39255E

#39255E is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.1% C 0.098 H 296.7°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#39255E
RGBrgb(57, 37, 94)
HSLhsl(261, 44%, 26%)
HSVhsv(261, 61%, 37%)
CMYKcmyk(39.4%, 60.6%, 0%, 63.1%)
CIE-LABlab(20.05, 23.73, -30.82)
CIE-LCHlch(20.05, 38.89, 307.59°)
OKLaboklab(32.07% 0.0439 -0.0874)
OKLCHoklch(32.07% 0.098 296.7)
XYZxyz(4.3688, 3.0011, 10.9366)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39255E #4A5E25
analogous
#252D5E #39255E #55255E
triadic
#39255E #5E3925 #255E39
tetradic
#39255E #5E252D #4A5E25 #255E55
square
#39255E #5E252D #4A5E25 #255E55
split-complementary
#39255E #5E5525 #2D5E25
monochromatic
#0D0916 #1E1432 #39255E #54368A #6E48B6

Accessibility & contrast

On white

13.12
#39255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#39255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39255E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39255E#FFFFFF#000000##FFFFFF
##39255E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093160
Deuteranopia (green-blind)
#11305D
Tritanopia (blue-blind)
#30313D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39255e;
/* rgb */ color: rgb(57, 37, 94);
/* oklch */ color: oklch(32.1% 0.098 296.7);
Tailwind
colors: {
  custom: {
    50: '#72608c',
    500: '#39255e',
    950: '#000000',
  },
}
SCSS
$custom: #39255e;
$custom-light: #72608c;
$custom-dark: #000000;
JSON
{
  "hex": "#39255e",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 261.053,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32073,
    "c": 0.09784,
    "h": 296.7
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#39255E
secondary
#7A914D
accent
#D355A7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #39255E

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

Preview Lab → · Contrast checker → · Palette generator →

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