#392968#392968

#392968 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.6% C 0.106 H 291.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#392968
RGBrgb(57, 41, 104)
HSLhsl(255, 43%, 28%)
HSVhsv(255, 61%, 41%)
CMYKcmyk(45.2%, 60.6%, 0%, 59.2%)
CIE-LABlab(21.78, 24.22, -34.59)
CIE-LCHlch(21.78, 42.23, 305.01°)
OKLaboklab(33.58% 0.0385 -0.0985)
OKLCHoklch(33.58% 0.106 291.4)
XYZxyz(4.9783, 3.4551, 13.4986)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392968 #586829
analogous
#293868 #392968 #582968
triadic
#392968 #683929 #296839
tetradic
#392968 #682938 #586829 #296858
square
#392968 #682938 #586829 #296858
split-complementary
#392968 #685829 #386829
monochromatic
#0C0916 #21183C #392968 #513A94 #6C51BA

Accessibility & contrast

On white

12.42
#392968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#392968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392968
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392968#FFFFFF#000000##FFFFFF
##3929681.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04356A
Deuteranopia (green-blind)
#083367
Tritanopia (blue-blind)
#2C3744
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #392968;
/* rgb */ color: rgb(57, 41, 104);
/* oklch */ color: oklch(33.6% 0.106 291.4);
Tailwind
colors: {
  custom: {
    50: '#736394',
    500: '#392968',
    950: '#000000',
  },
}
SCSS
$custom: #392968;
$custom-light: #736394;
$custom-dark: #000000;
JSON
{
  "hex": "#392968",
  "rgb": {
    "r": 57,
    "g": 41,
    "b": 104
  },
  "hsl": {
    "h": 255.238,
    "s": 43.448,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33582,
    "c": 0.10575,
    "h": 291.4
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#392968
secondary
#889A52
accent
#D355B3
background
#F7F5F9
surface
#EDEAF1
border
#C8C6CB
text
#08050D
muted
#7B797E

Preview Lab

Preview with #392968

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

Preview Lab → · Contrast checker → · Palette generator →

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