#39258A#39258A

#39258A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.157 H 284.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#39258A
RGBrgb(57, 37, 138)
HSLhsl(252, 58%, 34%)
HSVhsv(252, 73%, 54%)
CMYKcmyk(58.7%, 73.2%, 0%, 45.9%)
CIE-LABlab(23.76, 37.54, -53.01)
CIE-LCHlch(23.76, 64.96, 305.31°)
OKLaboklab(35.92% 0.0388 -0.1526)
OKLCHoklch(35.92% 0.157 284.3)
XYZxyz(6.9350, 4.0275, 24.4518)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39258A #768A25
analogous
#25448A #39258A #6C258A
triadic
#39258A #8A3925 #258A39
tetradic
#39258A #8A2544 #768A25 #258A6C
square
#39258A #8A2544 #768A25 #258A6C
split-complementary
#39258A #8A6C25 #448A25
monochromatic
#110B29 #25185A #39258A #4D32BA #7057D2

Accessibility & contrast

On white

11.63
#39258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#39258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #39258A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39258A#FFFFFF#000000##FFFFFF
##39258A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#0E4055
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #39258a;
/* rgb */ color: rgb(57, 37, 138);
/* oklch */ color: oklch(35.9% 0.157 284.3);
Tailwind
colors: {
  custom: {
    50: '#7962ad',
    500: '#39258a',
    950: '#000000',
  },
}
SCSS
$custom: #39258a;
$custom-light: #7962ad;
$custom-dark: #000000;
JSON
{
  "hex": "#39258a",
  "rgb": {
    "r": 57,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 251.881,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35918,
    "c": 0.15747,
    "h": 284.3
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#39258A
secondary
#A3B754
accent
#E147C2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #39258A

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

Preview Lab → · Contrast checker → · Palette generator →

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