#392266#392266

#392266 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.2% C 0.114 H 294.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#392266
RGBrgb(57, 34, 102)
HSLhsl(260, 50%, 27%)
HSVhsv(260, 67%, 40%)
CMYKcmyk(44.1%, 66.7%, 0%, 60%)
CIE-LABlab(19.94, 28.07, -36.26)
CIE-LCHlch(19.94, 45.85, 307.74°)
OKLaboklab(32.18% 0.0477 -0.1034)
OKLCHoklch(32.18% 0.114 294.7)
XYZxyz(4.6570, 2.9731, 12.8963)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392266 #4F6622
analogous
#222D66 #392266 #5B2266
triadic
#392266 #663922 #226639
tetradic
#392266 #66222D #4F6622 #22665B
square
#392266 #66222D #4F6622 #22665B
split-complementary
#392266 #665B22 #2D6622
monochromatic
#0D0817 #1F1338 #392266 #533194 #6D42C0

Accessibility & contrast

On white

13.17
#392266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#392266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392266
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392266#FFFFFF#000000##FFFFFF
##3922661.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#002F65
Tritanopia (blue-blind)
#2D3140
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #392266;
/* rgb */ color: rgb(57, 34, 102);
/* oklch */ color: oklch(32.2% 0.114 294.7);
Tailwind
colors: {
  custom: {
    50: '#735e92',
    500: '#392266',
    950: '#000000',
  },
}
SCSS
$custom: #392266;
$custom-light: #735e92;
$custom-dark: #000000;
JSON
{
  "hex": "#392266",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 260.294,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32184,
    "c": 0.11387,
    "h": 294.7
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#392266
secondary
#7F9A4A
accent
#DA4EAA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #392266

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

Preview Lab → · Contrast checker → · Palette generator →

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