#3E0F64#3E0F64

#3E0F64 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.137 H 303.9°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#3E0F64
RGBrgb(62, 15, 100)
HSLhsl(273, 74%, 23%)
HSVhsv(273, 85%, 39%)
CMYKcmyk(38%, 85%, 0%, 60.8%)
CIE-LABlab(16.92, 38.40, -39.82)
CIE-LCHlch(16.92, 55.32, 313.96°)
OKLaboklab(30.14% 0.0765 -0.1136)
OKLCHoklch(30.14% 0.137 303.9)
XYZxyz(4.4571, 2.2859, 12.2605)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F64 #35640F
analogous
#130F64 #3E0F64 #640F60
triadic
#3E0F64 #643E0F #0F643E
tetradic
#3E0F64 #64130F #35640F #0F6064
square
#3E0F64 #64130F #35640F #0F6064
split-complementary
#3E0F64 #60640F #0F6413
monochromatic
#10041B #1D072F #3E0F64 #5F1799 #801FCE

Accessibility & contrast

On white

14.41
#3E0F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3E0F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0F64
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F64#FFFFFF#000000##FFFFFF
##3E0F641.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#36263A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e0f64;
/* rgb */ color: rgb(62, 15, 100);
/* oklch */ color: oklch(30.1% 0.137 303.9);
Tailwind
colors: {
  custom: {
    50: '#785491',
    500: '#3e0f64',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f64;
$custom-light: #785491;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f64",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 100
  },
  "hsl": {
    "h": 273.176,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30136,
    "c": 0.13691,
    "h": 303.9
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#3E0F64
secondary
#629D32
accent
#F1378A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E0F64

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

Preview Lab → · Contrast checker → · Palette generator →

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