#39255D#39255D

#39255D is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.0% C 0.096 H 297.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#39255D
RGBrgb(57, 37, 93)
HSLhsl(261, 43%, 25%)
HSVhsv(261, 60%, 36%)
CMYKcmyk(38.7%, 60.2%, 0%, 63.5%)
CIE-LABlab(19.98, 23.42, -30.27)
CIE-LCHlch(19.98, 38.27, 307.73°)
OKLaboklab(32% 0.0439 -0.0858)
OKLCHoklch(32% 0.096 297.1)
XYZxyz(4.3242, 2.9832, 10.7018)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39255D #495D25
analogous
#252D5D #39255D #55255D
triadic
#39255D #5D3925 #255D39
tetradic
#39255D #5D252D #495D25 #255D55
square
#39255D #5D252D #495D25 #255D55
split-complementary
#39255D #5D5525 #2D5D25
monochromatic
#0D0916 #1E1431 #39255D #543689 #6F48B5

Accessibility & contrast

On white

13.15
#39255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39255D
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39255D#FFFFFF#000000##FFFFFF
##39255D1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305F
Deuteranopia (green-blind)
#12305C
Tritanopia (blue-blind)
#31313D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39255d;
/* rgb */ color: rgb(57, 37, 93);
/* oklch */ color: oklch(32.0% 0.096 297.1);
Tailwind
colors: {
  custom: {
    50: '#72608b',
    500: '#39255d',
    950: '#000000',
  },
}
SCSS
$custom: #39255d;
$custom-light: #72608b;
$custom-dark: #000000;
JSON
{
  "hex": "#39255d",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 261.429,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31997,
    "c": 0.0964,
    "h": 297.1
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#39255D
secondary
#78904D
accent
#D355A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #39255D

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

Preview Lab → · Contrast checker → · Palette generator →

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