#392A7E#392A7E

#392A7E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.6% C 0.135 H 285.4°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#392A7E
RGBrgb(57, 42, 126)
HSLhsl(251, 50%, 33%)
HSVhsv(251, 67%, 49%)
CMYKcmyk(54.8%, 66.7%, 0%, 50.6%)
CIE-LABlab(23.78, 30.69, -45.45)
CIE-LCHlch(23.78, 54.84, 304.03°)
OKLaboklab(35.59% 0.036 -0.1304)
OKLCHoklch(35.59% 0.135 285.4)
XYZxyz(6.2801, 4.0318, 20.1819)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392A7E #6F7E2A
analogous
#2A457E #392A7E #632A7E
triadic
#392A7E #7E392A #2A7E39
tetradic
#392A7E #7E2A45 #6F7E2A #2A7E63
square
#392A7E #7E2A45 #6F7E2A #2A7E63
split-complementary
#392A7E #7E632A #457E2A
monochromatic
#0F0B22 #241B50 #392A7E #4E39AC #6E5AC8

Accessibility & contrast

On white

11.63
#392A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#392A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392A7E
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392A7E#FFFFFF#000000##FFFFFF
##392A7E1.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)
#003B81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#1D3F50
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #392a7e;
/* rgb */ color: rgb(57, 42, 126);
/* oklch */ color: oklch(35.6% 0.135 285.4);
Tailwind
colors: {
  custom: {
    50: '#7664a4',
    500: '#392a7e',
    950: '#000000',
  },
}
SCSS
$custom: #392a7e;
$custom-light: #7664a4;
$custom-dark: #000000;
JSON
{
  "hex": "#392a7e",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 250.714,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35594,
    "c": 0.13532,
    "h": 285.4
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#392A7E
secondary
#9EAE56
accent
#DA4EC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #392A7E

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

Preview Lab → · Contrast checker → · Palette generator →

#392A7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva