#392261#392261

#392261 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.8% C 0.107 H 296.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#392261
RGBrgb(57, 34, 97)
HSLhsl(262, 48%, 26%)
HSVhsv(262, 65%, 38%)
CMYKcmyk(41.2%, 64.9%, 0%, 62%)
CIE-LABlab(19.54, 26.55, -33.61)
CIE-LCHlch(19.54, 42.83, 308.31°)
OKLaboklab(31.78% 0.048 -0.0956)
OKLCHoklch(31.78% 0.107 296.7)
XYZxyz(4.4165, 2.8769, 11.6296)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392261 #4A6122
analogous
#222A61 #392261 #582261
triadic
#392261 #613922 #226139
tetradic
#392261 #61222A #4A6122 #226158
square
#392261 #61222A #4A6122 #226158
split-complementary
#392261 #615822 #2A6122
monochromatic
#0D0817 #1E1234 #392261 #54328E #6E42BC

Accessibility & contrast

On white

13.33
#392261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#392261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392261
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392261#FFFFFF#000000##FFFFFF
##3922611.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003063
Deuteranopia (green-blind)
#052F60
Tritanopia (blue-blind)
#2F303E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #392261;
/* rgb */ color: rgb(57, 34, 97);
/* oklch */ color: oklch(31.8% 0.107 296.7);
Tailwind
colors: {
  custom: {
    50: '#735e8e',
    500: '#392261',
    950: '#000000',
  },
}
SCSS
$custom: #392261;
$custom-light: #735e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#392261",
  "rgb": {
    "r": 57,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 261.905,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31775,
    "c": 0.107,
    "h": 296.7
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#392261
secondary
#7A954A
accent
#D850A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #392261

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

Preview Lab → · Contrast checker → · Palette generator →

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