#3E1769#3E1769

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

Color values

HEX#3E1769
RGBrgb(62, 23, 105)
HSLhsl(269, 64%, 25%)
HSVhsv(269, 78%, 41%)
CMYKcmyk(41%, 78.1%, 0%, 58.8%)
CIE-LABlab(18.61, 36.16, -40.34)
CIE-LCHlch(18.61, 54.18, 311.87°)
OKLaboklab(31.46% 0.0676 -0.1152)
OKLCHoklch(31.46% 0.134 300.4)
XYZxyz(4.8422, 2.6568, 13.6196)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1769 #426917
analogous
#171969 #3E1769 #671769
triadic
#3E1769 #693E17 #17693E
tetradic
#3E1769 #691719 #426917 #176967
square
#3E1769 #691719 #426917 #176967
split-complementary
#3E1769 #696717 #196917
monochromatic
#0F0519 #200C37 #3E1769 #5C229B #792DCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E1769#FFFFFF#000000##FFFFFF
##3E17691.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)
#002D6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#342C3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e1769;
/* rgb */ color: rgb(62, 23, 105);
/* oklch */ color: oklch(31.5% 0.134 300.4);
Tailwind
colors: {
  custom: {
    50: '#785895',
    500: '#3e1769',
    950: '#000000',
  },
}
SCSS
$custom: #3e1769;
$custom-light: #785895;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1769",
  "rgb": {
    "r": 62,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 268.537,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31463,
    "c": 0.13355,
    "h": 300.4
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#3E1769
secondary
#709F3D
accent
#E74198
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1769

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

Preview Lab → · Contrast checker → · Palette generator →

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