#391962#391962

#391962 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.122 H 299.0°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#391962
RGBrgb(57, 25, 98)
HSLhsl(266, 59%, 24%)
HSVhsv(266, 74%, 38%)
CMYKcmyk(41.8%, 74.5%, 0%, 61.6%)
CIE-LABlab(17.68, 32.16, -37.30)
CIE-LCHlch(17.68, 49.24, 310.77°)
OKLaboklab(30.46% 0.059 -0.1064)
OKLCHoklch(30.46% 0.122 299)
XYZxyz(4.2390, 2.4469, 11.8019)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391962 #426219
analogous
#191E62 #391962 #5E1962
triadic
#391962 #623919 #196239
tetradic
#391962 #62191E #426219 #19625E
square
#391962 #62191E #426219 #19625E
split-complementary
#391962 #625E19 #1E6219
monochromatic
#0E0618 #1D0D31 #391962 #552593 #7232C4

Accessibility & contrast

On white

14.10
#391962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#391962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391962
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391962#FFFFFF#000000##FFFFFF
##3919621.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#2F2B3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #391962;
/* rgb */ color: rgb(57, 25, 98);
/* oklch */ color: oklch(30.5% 0.122 299.0);
Tailwind
colors: {
  custom: {
    50: '#74598f',
    500: '#391962',
    950: '#000000',
  },
}
SCSS
$custom: #391962;
$custom-light: #74598f;
$custom-dark: #000000;
JSON
{
  "hex": "#391962",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 266.301,
    "s": 59.35,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30455,
    "c": 0.12169,
    "h": 299
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#391962
secondary
#71983F
accent
#E3459E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #391962

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

Preview Lab → · Contrast checker → · Palette generator →

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