#39255C#39255C

#39255C is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.9% C 0.095 H 297.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#39255C
RGBrgb(57, 37, 92)
HSLhsl(262, 43%, 25%)
HSVhsv(262, 60%, 36%)
CMYKcmyk(38%, 59.8%, 0%, 63.9%)
CIE-LABlab(19.91, 23.12, -29.72)
CIE-LCHlch(19.91, 37.66, 307.88°)
OKLaboklab(31.92% 0.0439 -0.0842)
OKLCHoklch(31.92% 0.095 297.5)
XYZxyz(4.2802, 2.9656, 10.4701)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39255C #485C25
analogous
#252C5C #39255C #54255C
triadic
#39255C #5C3925 #255C39
tetradic
#39255C #5C252C #485C25 #255C54
square
#39255C #5C252C #485C25 #255C54
split-complementary
#39255C #5C5425 #2C5C25
monochromatic
#0E0916 #1E1330 #39255C #543788 #6F48B3

Accessibility & contrast

On white

13.18
#39255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39255C
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39255C#FFFFFF#000000##FFFFFF
##39255C1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305E
Deuteranopia (green-blind)
#132F5B
Tritanopia (blue-blind)
#31303C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #39255c;
/* rgb */ color: rgb(57, 37, 92);
/* oklch */ color: oklch(31.9% 0.095 297.5);
Tailwind
colors: {
  custom: {
    50: '#72608a',
    500: '#39255c',
    950: '#000000',
  },
}
SCSS
$custom: #39255c;
$custom-light: #72608a;
$custom-dark: #000000;
JSON
{
  "hex": "#39255c",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 261.818,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31922,
    "c": 0.09496,
    "h": 297.5
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#39255C
secondary
#778F4D
accent
#D255A5
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #39255C

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

Preview Lab → · Contrast checker → · Palette generator →

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