#391462#391462

#391462 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.128 H 300.2°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#391462
RGBrgb(57, 20, 98)
HSLhsl(268, 66%, 23%)
HSVhsv(268, 80%, 38%)
CMYKcmyk(41.8%, 79.6%, 0%, 61.6%)
CIE-LABlab(16.76, 34.75, -38.79)
CIE-LCHlch(16.76, 52.08, 311.85°)
OKLaboklab(29.8% 0.0644 -0.1108)
OKLCHoklch(29.8% 0.128 300.2)
XYZxyz(4.1416, 2.2520, 11.7694)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391462 #3D6214
analogous
#141662 #391462 #601462
triadic
#391462 #623914 #146239
tetradic
#391462 #621416 #3D6214 #146260
square
#391462 #621416 #3D6214 #146260
split-complementary
#391462 #626014 #166214
monochromatic
#0F0519 #1B0A2F #391462 #571E95 #7429C8

Accessibility & contrast

On white

14.48
#391462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#391462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #391462
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391462#FFFFFF#000000##FFFFFF
##3914621.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#30283A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391462;
/* rgb */ color: rgb(57, 20, 98);
/* oklch */ color: oklch(29.8% 0.128 300.2);
Tailwind
colors: {
  custom: {
    50: '#74568f',
    500: '#391462',
    950: '#000000',
  },
}
SCSS
$custom: #391462;
$custom-light: #74568f;
$custom-dark: #000000;
JSON
{
  "hex": "#391462",
  "rgb": {
    "r": 57,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 268.462,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29804,
    "c": 0.12814,
    "h": 300.2
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#391462
secondary
#6B9938
accent
#E93F98
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #391462

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

Preview Lab → · Contrast checker → · Palette generator →

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