#392165#392165

#392165 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.114 H 295.4°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#392165
RGBrgb(57, 33, 101)
HSLhsl(261, 51%, 26%)
HSVhsv(261, 67%, 40%)
CMYKcmyk(43.6%, 67.3%, 0%, 60.4%)
CIE-LABlab(19.63, 28.38, -36.11)
CIE-LCHlch(19.63, 45.92, 308.16°)
OKLaboklab(31.94% 0.049 -0.103)
OKLCHoklch(31.94% 0.114 295.4)
XYZxyz(4.5795, 2.8971, 12.6273)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392165 #4D6521
analogous
#212B65 #392165 #5B2165
triadic
#392165 #653921 #216539
tetradic
#392165 #65212B #4D6521 #21655B
square
#392165 #65212B #4D6521 #21655B
split-complementary
#392165 #655B21 #2B6521
monochromatic
#0D0817 #1F1237 #392165 #533093 #6D40C1

Accessibility & contrast

On white

13.30
#392165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392165
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392165#FFFFFF#000000##FFFFFF
##3921651.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003067
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#2E313F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #392165;
/* rgb */ color: rgb(57, 33, 101);
/* oklch */ color: oklch(31.9% 0.114 295.4);
Tailwind
colors: {
  custom: {
    50: '#735e91',
    500: '#392165',
    950: '#000000',
  },
}
SCSS
$custom: #392165;
$custom-light: #735e91;
$custom-dark: #000000;
JSON
{
  "hex": "#392165",
  "rgb": {
    "r": 57,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 261.176,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31935,
    "c": 0.11403,
    "h": 295.4
  },
  "luminance": 0.02897
}

Semantic roles & 50–950 ramp

primary
#392165
secondary
#7D9949
accent
#DA4EA9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #392165

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

Preview Lab → · Contrast checker → · Palette generator →

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