#39255F#39255F

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

Color values

HEX#39255F
RGBrgb(57, 37, 95)
HSLhsl(261, 44%, 26%)
HSVhsv(261, 61%, 37%)
CMYKcmyk(40%, 61.1%, 0%, 62.7%)
CIE-LABlab(20.12, 24.03, -31.36)
CIE-LCHlch(20.12, 39.51, 307.46°)
OKLaboklab(32.15% 0.044 -0.089)
OKLCHoklch(32.15% 0.099 296.3)
XYZxyz(4.4139, 3.0191, 11.1745)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39255F #4B5F25
analogous
#252E5F #39255F #56255F
triadic
#39255F #5F3925 #255F39
tetradic
#39255F #5F252E #4B5F25 #255F56
square
#39255F #5F252E #4B5F25 #255F56
split-complementary
#39255F #5F5625 #2E5F25
monochromatic
#0D0916 #1F1433 #39255F #53368B #6E47B7

Accessibility & contrast

On white

13.09
#39255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #39255F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39255F#FFFFFF#000000##FFFFFF
##39255F1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073161
Deuteranopia (green-blind)
#0F305E
Tritanopia (blue-blind)
#30313E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #39255f;
/* rgb */ color: rgb(57, 37, 95);
/* oklch */ color: oklch(32.1% 0.099 296.3);
Tailwind
colors: {
  custom: {
    50: '#72608d',
    500: '#39255f',
    950: '#000000',
  },
}
SCSS
$custom: #39255f;
$custom-light: #72608d;
$custom-dark: #000000;
JSON
{
  "hex": "#39255f",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 260.69,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32149,
    "c": 0.09928,
    "h": 296.3
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#39255F
secondary
#7B924D
accent
#D454A8
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #39255F

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

Preview Lab → · Contrast checker → · Palette generator →

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