#391855#391855

#391855 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.107 H 305.6°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#391855
RGBrgb(57, 24, 85)
HSLhsl(272, 56%, 21%)
HSVhsv(272, 72%, 33%)
CMYKcmyk(32.9%, 71.8%, 0%, 66.7%)
CIE-LABlab(16.40, 29.09, -30.68)
CIE-LCHlch(16.40, 42.27, 313.47°)
OKLaboklab(29.2% 0.0622 -0.087)
OKLCHoklch(29.2% 0.107 305.6)
XYZxyz(3.6533, 2.1790, 8.8207)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391855 #345518
analogous
#1B1855 #391855 #551853
triadic
#391855 #553918 #185539
tetradic
#391855 #551B18 #345518 #185355
square
#391855 #551B18 #345518 #185355
split-complementary
#391855 #535518 #18551B
monochromatic
#100718 #190B25 #391855 #592585 #7933B4

Accessibility & contrast

On white

14.63
#391855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#391855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391855
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391855#FFFFFF#000000##FFFFFF
##3918551.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002857
Deuteranopia (green-blind)
#072954
Tritanopia (blue-blind)
#342534
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391855;
/* rgb */ color: rgb(57, 24, 85);
/* oklch */ color: oklch(29.2% 0.107 305.6);
Tailwind
colors: {
  custom: {
    50: '#725785',
    500: '#391855',
    950: '#000000',
  },
}
SCSS
$custom: #391855;
$custom-light: #725785;
$custom-dark: #000000;
JSON
{
  "hex": "#391855",
  "rgb": {
    "r": 57,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 272.459,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29202,
    "c": 0.10693,
    "h": 305.6
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#391855
secondary
#618C3D
accent
#DF498E
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #391855

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

Preview Lab → · Contrast checker → · Palette generator →

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