#3E1966#3E1966

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

Color values

HEX#3E1966
RGBrgb(62, 25, 102)
HSLhsl(269, 61%, 25%)
HSVhsv(269, 75%, 40%)
CMYKcmyk(39.2%, 75.5%, 0%, 60%)
CIE-LABlab(18.71, 34.33, -38.22)
CIE-LCHlch(18.71, 51.38, 311.93°)
OKLaboklab(31.45% 0.0661 -0.109)
OKLCHoklch(31.45% 0.127 301.3)
XYZxyz(4.7319, 2.6787, 12.8355)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1966 #416619
analogous
#191B66 #3E1966 #641966
triadic
#3E1966 #663E19 #19663E
tetradic
#3E1966 #66191B #416619 #196664
square
#3E1966 #66191B #416619 #196664
split-complementary
#3E1966 #666419 #1B6619
monochromatic
#0F0619 #200D35 #3E1966 #5C2597 #7A31C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E1966#FFFFFF#000000##FFFFFF
##3E19661.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)
#002D68
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#352C3D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1966;
/* rgb */ color: rgb(62, 25, 102);
/* oklch */ color: oklch(31.4% 0.127 301.3);
Tailwind
colors: {
  custom: {
    50: '#775992',
    500: '#3e1966',
    950: '#000000',
  },
}
SCSS
$custom: #3e1966;
$custom-light: #775992;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1966",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 268.831,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31448,
    "c": 0.12747,
    "h": 301.3
  },
  "luminance": 0.02679
}

Semantic roles & 50–950 ramp

primary
#3E1966
secondary
#6F9C3F
accent
#E44497
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1966

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

Preview Lab → · Contrast checker → · Palette generator →

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