#3E0E68#3E0E68

#3E0E68 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.142 H 302.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#3E0E68
RGBrgb(62, 14, 104)
HSLhsl(272, 76%, 23%)
HSVhsv(272, 87%, 41%)
CMYKcmyk(40.4%, 86.5%, 0%, 59.2%)
CIE-LABlab(17.17, 39.79, -42.05)
CIE-LCHlch(17.17, 57.89, 313.42°)
OKLaboklab(30.42% 0.0759 -0.1201)
OKLCHoklch(30.42% 0.142 302.3)
XYZxyz(4.6417, 2.3377, 13.3007)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0E68 #38680E
analogous
#110E68 #3E0E68 #680E65
triadic
#3E0E68 #683E0E #0E683E
tetradic
#3E0E68 #68110E #38680E #0E6568
square
#3E0E68 #68110E #38680E #0E6568
split-complementary
#3E0E68 #65680E #0E6811
monochromatic
#10041B #1E0732 #3E0E68 #5E159E #7E1DD4

Accessibility & contrast

On white

14.31
#3E0E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3E0E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0E68
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0E68#FFFFFF#000000##FFFFFF
##3E0E681.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#35273C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e0e68;
/* rgb */ color: rgb(62, 14, 104);
/* oklch */ color: oklch(30.4% 0.142 302.3);
Tailwind
colors: {
  custom: {
    50: '#785494',
    500: '#3e0e68',
    950: '#000000',
  },
}
SCSS
$custom: #3e0e68;
$custom-light: #785494;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0e68",
  "rgb": {
    "r": 62,
    "g": 14,
    "b": 104
  },
  "hsl": {
    "h": 272,
    "s": 76.271,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30424,
    "c": 0.14211,
    "h": 302.3
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#3E0E68
secondary
#65A131
accent
#F3358E
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E0E68

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

Preview Lab → · Contrast checker → · Palette generator →

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