#3E1965#3E1965

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

Color values

HEX#3E1965
RGBrgb(62, 25, 101)
HSLhsl(269, 60%, 25%)
HSVhsv(269, 75%, 40%)
CMYKcmyk(38.6%, 75.2%, 0%, 60.4%)
CIE-LABlab(18.62, 34.06, -37.70)
CIE-LCHlch(18.62, 50.81, 312.09°)
OKLaboklab(31.36% 0.0663 -0.1074)
OKLCHoklch(31.36% 0.126 301.7)
XYZxyz(4.6826, 2.6590, 12.5759)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1965 #406519
analogous
#191A65 #3E1965 #641965
triadic
#3E1965 #653E19 #19653E
tetradic
#3E1965 #65191A #406519 #196564
square
#3E1965 #65191A #406519 #196564
split-complementary
#3E1965 #656419 #1A6519
monochromatic
#0F0619 #200D34 #3E1965 #5C2596 #7A31C7

Accessibility & contrast

On white

13.71
#3E1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3E1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1965
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1965#FFFFFF#000000##FFFFFF
##3E19651.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002D63
Tritanopia (blue-blind)
#362B3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e1965;
/* rgb */ color: rgb(62, 25, 101);
/* oklch */ color: oklch(31.4% 0.126 301.7);
Tailwind
colors: {
  custom: {
    50: '#775991',
    500: '#3e1965',
    950: '#000000',
  },
}
SCSS
$custom: #3e1965;
$custom-light: #775991;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1965",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 269.211,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31361,
    "c": 0.12626,
    "h": 301.7
  },
  "luminance": 0.02659
}

Semantic roles & 50–950 ramp

primary
#3E1965
secondary
#6E9B3F
accent
#E34496
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1965

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

Preview Lab → · Contrast checker → · Palette generator →

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