#39245C#39245C

#39245C is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.7% C 0.097 H 298.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#39245C
RGBrgb(57, 36, 92)
HSLhsl(263, 44%, 25%)
HSVhsv(263, 61%, 36%)
CMYKcmyk(38%, 60.9%, 0%, 63.9%)
CIE-LABlab(19.66, 23.77, -30.12)
CIE-LCHlch(19.66, 38.37, 308.28°)
OKLaboklab(31.74% 0.0453 -0.0854)
OKLCHoklch(31.74% 0.097 298)
XYZxyz(4.2495, 2.9043, 10.4598)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39245C #475C24
analogous
#242B5C #39245C #55245C
triadic
#39245C #5C3924 #245C39
tetradic
#39245C #5C242B #475C24 #245C55
square
#39245C #5C242B #475C24 #245C55
split-complementary
#39245C #5C5524 #2B5C24
monochromatic
#0E0916 #1E1330 #39245C #543588 #7046B4

Accessibility & contrast

On white

13.28
#39245C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#39245C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39245C
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39245C#FFFFFF#000000##FFFFFF
##39245C1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305E
Deuteranopia (green-blind)
#112F5B
Tritanopia (blue-blind)
#31303C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39245c;
/* rgb */ color: rgb(57, 36, 92);
/* oklch */ color: oklch(31.7% 0.097 298.0);
Tailwind
colors: {
  custom: {
    50: '#725f8a',
    500: '#39245c',
    950: '#000000',
  },
}
SCSS
$custom: #39245c;
$custom-light: #725f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#39245c",
  "rgb": {
    "r": 57,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 262.5,
    "s": 43.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31739,
    "c": 0.09667,
    "h": 298
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#39245C
secondary
#76904C
accent
#D354A4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #39245C

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

Preview Lab → · Contrast checker → · Palette generator →

#39245C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva