#391658#391658

#391658 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.2% C 0.114 H 304.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#391658
RGBrgb(57, 22, 88)
HSLhsl(272, 60%, 22%)
HSVhsv(272, 75%, 35%)
CMYKcmyk(35.2%, 75%, 0%, 65.5%)
CIE-LABlab(16.25, 31.00, -32.95)
CIE-LCHlch(16.25, 45.24, 313.25°)
OKLaboklab(29.17% 0.0643 -0.0936)
OKLCHoklch(29.17% 0.114 304.5)
XYZxyz(3.7353, 2.1483, 9.4485)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391658 #355816
analogous
#181658 #391658 #581656
triadic
#391658 #583916 #165839
tetradic
#391658 #581816 #355816 #165658
square
#391658 #581816 #355816 #165658
split-complementary
#391658 #565816 #165818
monochromatic
#100618 #190A27 #391658 #592289 #782EBA

Accessibility & contrast

On white

14.69
#391658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#391658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391658
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391658#FFFFFF#000000##FFFFFF
##3916581.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#332535
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #391658;
/* rgb */ color: rgb(57, 22, 88);
/* oklch */ color: oklch(29.2% 0.114 304.5);
Tailwind
colors: {
  custom: {
    50: '#735688',
    500: '#391658',
    950: '#000000',
  },
}
SCSS
$custom: #391658;
$custom-light: #735688;
$custom-dark: #000000;
JSON
{
  "hex": "#391658",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 271.818,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29169,
    "c": 0.11358,
    "h": 304.5
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#391658
secondary
#628F3B
accent
#E3458F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391658

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

Preview Lab → · Contrast checker → · Palette generator →

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