#39255A#39255A

#39255A is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.092 H 298.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#39255A
RGBrgb(57, 37, 90)
HSLhsl(263, 42%, 25%)
HSVhsv(263, 59%, 35%)
CMYKcmyk(36.7%, 58.9%, 0%, 64.7%)
CIE-LABlab(19.77, 22.52, -28.62)
CIE-LCHlch(19.77, 36.42, 308.20°)
OKLaboklab(31.77% 0.0438 -0.081)
OKLCHoklch(31.77% 0.092 298.4)
XYZxyz(4.1939, 2.9311, 10.0157)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39255A #465A25
analogous
#252B5A #39255A #54255A
triadic
#39255A #5A3925 #255A39
tetradic
#39255A #5A252B #465A25 #255A54
square
#39255A #5A252B #465A25 #255A54
split-complementary
#39255A #5A5425 #2B5A25
monochromatic
#0E0916 #1E132F #39255A #543785 #7049B1

Accessibility & contrast

On white

13.24
#39255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#39255A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39255A
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39255A#FFFFFF#000000##FFFFFF
##39255A1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F305C
Deuteranopia (green-blind)
#152F59
Tritanopia (blue-blind)
#32303B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39255a;
/* rgb */ color: rgb(57, 37, 90);
/* oklch */ color: oklch(31.8% 0.092 298.4);
Tailwind
colors: {
  custom: {
    50: '#726089',
    500: '#39255a',
    950: '#000000',
  },
}
SCSS
$custom: #39255a;
$custom-light: #726089;
$custom-dark: #000000;
JSON
{
  "hex": "#39255a",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 262.642,
    "s": 41.732,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31774,
    "c": 0.09206,
    "h": 298.4
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#39255A
secondary
#758D4D
accent
#D256A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050B
muted
#7B797C

Preview Lab

Preview with #39255A

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

Preview Lab → · Contrast checker → · Palette generator →

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