#3E0F63#3E0F63

#3E0F63 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.136 H 304.4°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#3E0F63
RGBrgb(62, 15, 99)
HSLhsl(274, 74%, 22%)
HSVhsv(274, 85%, 39%)
CMYKcmyk(37.4%, 84.8%, 0%, 61.2%)
CIE-LABlab(16.83, 38.15, -39.31)
CIE-LCHlch(16.83, 54.78, 314.15°)
OKLaboklab(30.04% 0.0768 -0.1121)
OKLCHoklch(30.04% 0.136 304.4)
XYZxyz(4.4090, 2.2666, 12.0072)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F63 #34630F
analogous
#140F63 #3E0F63 #630F5E
triadic
#3E0F63 #633E0F #0F633E
tetradic
#3E0F63 #63140F #34630F #0F5E63
square
#3E0F63 #63140F #34630F #0F5E63
split-complementary
#3E0F63 #5E630F #0F6314
monochromatic
#11041B #1D072E #3E0F63 #5F1798 #811FCD

Accessibility & contrast

On white

14.45
#3E0F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3E0F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F63
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F63#FFFFFF#000000##FFFFFF
##3E0F631.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#372639
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e0f63;
/* rgb */ color: rgb(62, 15, 99);
/* oklch */ color: oklch(30.0% 0.136 304.4);
Tailwind
colors: {
  custom: {
    50: '#785490',
    500: '#3e0f63',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f63;
$custom-light: #785490;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f63",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 99
  },
  "hsl": {
    "h": 273.571,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30042,
    "c": 0.13585,
    "h": 304.4
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#3E0F63
secondary
#619C32
accent
#F03789
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3E0F63

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

Preview Lab → · Contrast checker → · Palette generator →

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