#3E1A64#3E1A64

#3E1A64 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.124 H 301.9°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#3E1A64
RGBrgb(62, 26, 100)
HSLhsl(269, 59%, 25%)
HSVhsv(269, 74%, 39%)
CMYKcmyk(38%, 74%, 0%, 60.8%)
CIE-LABlab(18.73, 33.26, -36.88)
CIE-LCHlch(18.73, 49.66, 312.05°)
OKLaboklab(31.41% 0.0654 -0.105)
OKLCHoklch(31.41% 0.124 301.9)
XYZxyz(4.6557, 2.6830, 12.3267)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A64 #40641A
analogous
#1A1B64 #3E1A64 #631A64
triadic
#3E1A64 #643E1A #1A643E
tetradic
#3E1A64 #641A1B #40641A #1A6463
square
#3E1A64 #641A1B #40641A #1A6463
split-complementary
#3E1A64 #64631A #1B641A
monochromatic
#0F0618 #200D33 #3E1A64 #5C2795 #7A33C5

Accessibility & contrast

On white

13.67
#3E1A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1A64
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A64#FFFFFF#000000##FFFFFF
##3E1A641.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#362B3D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1a64;
/* rgb */ color: rgb(62, 26, 100);
/* oklch */ color: oklch(31.4% 0.124 301.9);
Tailwind
colors: {
  custom: {
    50: '#775a91',
    500: '#3e1a64',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a64;
$custom-light: #775a91;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a64",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 269.189,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31408,
    "c": 0.1237,
    "h": 301.9
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#3E1A64
secondary
#6E9A40
accent
#E24696
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #3E1A64

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

Preview Lab → · Contrast checker → · Palette generator →

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