#392357#392357

#392357 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.2% C 0.091 H 300.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#392357
RGBrgb(57, 35, 87)
HSLhsl(265, 43%, 24%)
HSVhsv(265, 60%, 34%)
CMYKcmyk(34.5%, 59.8%, 0%, 65.9%)
CIE-LABlab(19.06, 22.93, -27.75)
CIE-LCHlch(19.06, 36.00, 309.57°)
OKLaboklab(31.18% 0.0467 -0.0784)
OKLCHoklch(31.18% 0.091 300.8)
XYZxyz(4.0083, 2.7600, 9.3365)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392357 #415723
analogous
#232757 #392357 #532357
triadic
#392357 #573923 #235739
tetradic
#392357 #572327 #415723 #235753
square
#392357 #572327 #415723 #235753
split-complementary
#392357 #575323 #275723
monochromatic
#0E0916 #1C112B #392357 #563583 #7246AE

Accessibility & contrast

On white

13.53
#392357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#392357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392357
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392357#FFFFFF#000000##FFFFFF
##3923571.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2E59
Deuteranopia (green-blind)
#162E56
Tritanopia (blue-blind)
#332D39
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #392357;
/* rgb */ color: rgb(57, 35, 87);
/* oklch */ color: oklch(31.2% 0.091 300.8);
Tailwind
colors: {
  custom: {
    50: '#725f87',
    500: '#392357',
    950: '#000000',
  },
}
SCSS
$custom: #392357;
$custom-light: #725f87;
$custom-dark: #000000;
JSON
{
  "hex": "#392357",
  "rgb": {
    "r": 57,
    "g": 35,
    "b": 87
  },
  "hsl": {
    "h": 265.385,
    "s": 42.623,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31183,
    "c": 0.09127,
    "h": 300.8
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#392357
secondary
#708B4B
accent
#D2559E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #392357

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

Preview Lab → · Contrast checker → · Palette generator →

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