#3E1470#3E1470

#3E1470 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.145 H 298.2°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#3E1470
RGBrgb(62, 20, 112)
HSLhsl(267, 70%, 26%)
HSVhsv(267, 82%, 44%)
CMYKcmyk(44.6%, 82.1%, 0%, 56.1%)
CIE-LABlab(18.78, 39.44, -44.64)
CIE-LCHlch(18.78, 59.57, 311.46°)
OKLaboklab(31.78% 0.0684 -0.1278)
OKLCHoklch(31.78% 0.145 298.2)
XYZxyz(5.1606, 2.6942, 15.5742)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1470 #467014
analogous
#141870 #3E1470 #6C1470
triadic
#3E1470 #703E14 #14703E
tetradic
#3E1470 #701418 #467014 #14706C
square
#3E1470 #701418 #467014 #14706C
split-complementary
#3E1470 #706C14 #187014
monochromatic
#0E051A #210B3C #3E1470 #5B1DA4 #7727D8

Accessibility & contrast

On white

13.65
#3E1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3E1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1470
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1470#FFFFFF#000000##FFFFFF
##3E14701.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#312D42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1470;
/* rgb */ color: rgb(62, 20, 112);
/* oklch */ color: oklch(31.8% 0.145 298.2);
Tailwind
colors: {
  custom: {
    50: '#79579a',
    500: '#3e1470',
    950: '#000000',
  },
}
SCSS
$custom: #3e1470;
$custom-light: #79579a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1470",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 267.391,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31776,
    "c": 0.14493,
    "h": 298.2
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#3E1470
secondary
#75A639
accent
#ED3B9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E1470

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

Preview Lab → · Contrast checker → · Palette generator →

#3E1470 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva