#392865#392865

#392865 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.2% C 0.103 H 292.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#392865
RGBrgb(57, 40, 101)
HSLhsl(257, 43%, 28%)
HSVhsv(257, 60%, 40%)
CMYKcmyk(43.6%, 60.4%, 0%, 60.4%)
CIE-LABlab(21.31, 23.93, -33.39)
CIE-LCHlch(21.31, 41.08, 305.63°)
OKLaboklab(33.16% 0.0398 -0.095)
OKLCHoklch(33.16% 0.103 292.8)
XYZxyz(4.7945, 3.3269, 12.6989)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392865 #546528
analogous
#283665 #392865 #572865
triadic
#392865 #653928 #286539
tetradic
#392865 #652836 #546528 #286557
square
#392865 #652836 #546528 #286557
split-complementary
#392865 #655728 #366528
monochromatic
#0C0916 #201739 #392865 #523991 #6C4EB9

Accessibility & contrast

On white

12.61
#392865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#392865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392865
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392865#FFFFFF#000000##FFFFFF
##3928651.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063467
Deuteranopia (green-blind)
#0C3264
Tritanopia (blue-blind)
#2D3542
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #392865;
/* rgb */ color: rgb(57, 40, 101);
/* oklch */ color: oklch(33.2% 0.103 292.8);
Tailwind
colors: {
  custom: {
    50: '#736291',
    500: '#392865',
    950: '#000000',
  },
}
SCSS
$custom: #392865;
$custom-light: #736291;
$custom-dark: #000000;
JSON
{
  "hex": "#392865",
  "rgb": {
    "r": 57,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 256.721,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33163,
    "c": 0.103,
    "h": 292.8
  },
  "luminance": 0.03327
}

Semantic roles & 50–950 ramp

primary
#392865
secondary
#849851
accent
#D355B0
background
#F7F5F9
surface
#EDEAF1
border
#C8C6CB
text
#08050D
muted
#7B797E

Preview Lab

Preview with #392865

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

Preview Lab → · Contrast checker → · Palette generator →

#392865 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva