#3E1468#3E1468

#3E1468 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.136 H 301.4°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#3E1468
RGBrgb(62, 20, 104)
HSLhsl(270, 68%, 24%)
HSVhsv(270, 81%, 41%)
CMYKcmyk(40.4%, 80.8%, 0%, 59.2%)
CIE-LABlab(18.03, 37.31, -40.65)
CIE-LCHlch(18.03, 55.17, 312.55°)
OKLaboklab(31.02% 0.0708 -0.116)
OKLCHoklch(31.02% 0.136 301.4)
XYZxyz(4.7348, 2.5239, 13.3317)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1468 #3E6814
analogous
#141468 #3E1468 #681468
triadic
#3E1468 #683E14 #14683E
tetradic
#3E1468 #681414 #3E6814 #146868
square
#3E1468 #681414 #3E6814 #146868
split-complementary
#3E1468 #686814 #146814
monochromatic
#0F051A #1F0A35 #3E1468 #5D1E9B #7B28CF

Accessibility & contrast

On white

13.96
#3E1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3E1468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1468
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1468#FFFFFF#000000##FFFFFF
##3E14681.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#352A3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1468;
/* rgb */ color: rgb(62, 20, 104);
/* oklch */ color: oklch(31.0% 0.136 301.4);
Tailwind
colors: {
  custom: {
    50: '#785794',
    500: '#3e1468',
    950: '#000000',
  },
}
SCSS
$custom: #3e1468;
$custom-light: #785794;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1468",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 270,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31022,
    "c": 0.13593,
    "h": 301.4
  },
  "luminance": 0.02524
}

Semantic roles & 50–950 ramp

primary
#3E1468
secondary
#6C9F39
accent
#EB3D94
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1468

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

Preview Lab → · Contrast checker → · Palette generator →

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