#392255#392255

#392255 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 30.9% C 0.090 H 302.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#392255
RGBrgb(57, 34, 85)
HSLhsl(267, 43%, 23%)
HSVhsv(267, 60%, 33%)
CMYKcmyk(32.9%, 60%, 0%, 66.7%)
CIE-LABlab(18.67, 23.00, -27.03)
CIE-LCHlch(18.67, 35.49, 310.39°)
OKLaboklab(30.85% 0.0481 -0.0763)
OKLCHoklch(30.85% 0.09 302.2)
XYZxyz(3.8987, 2.6698, 8.9025)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392255 #3E5522
analogous
#222455 #392255 #522255
triadic
#392255 #553922 #225539
tetradic
#392255 #552224 #3E5522 #225552
square
#392255 #552224 #3E5522 #225552
split-complementary
#392255 #555222 #245522
monochromatic
#0F0916 #1C1129 #392255 #563381 #7445AC

Accessibility & contrast

On white

13.69
#392255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#392255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392255
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392255#FFFFFF#000000##FFFFFF
##3922551.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2D57
Deuteranopia (green-blind)
#162D54
Tritanopia (blue-blind)
#342C37
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #392255;
/* rgb */ color: rgb(57, 34, 85);
/* oklch */ color: oklch(30.9% 0.090 302.2);
Tailwind
colors: {
  custom: {
    50: '#715e85',
    500: '#392255',
    950: '#000000',
  },
}
SCSS
$custom: #392255;
$custom-light: #715e85;
$custom-dark: #000000;
JSON
{
  "hex": "#392255",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 267.059,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30854,
    "c": 0.09019,
    "h": 302.2
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#392255
secondary
#6C894A
accent
#D3559A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #392255

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

Preview Lab → · Contrast checker → · Palette generator →

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