#3E0F68#3E0F68

#3E0F68 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.141 H 302.2°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#3E0F68
RGBrgb(62, 15, 104)
HSLhsl(272, 75%, 23%)
HSVhsv(272, 86%, 41%)
CMYKcmyk(40.4%, 85.6%, 0%, 59.2%)
CIE-LABlab(17.30, 39.42, -41.84)
CIE-LCHlch(17.30, 57.48, 313.29°)
OKLaboklab(30.51% 0.0752 -0.1195)
OKLCHoklch(30.51% 0.141 302.2)
XYZxyz(4.6555, 2.3652, 13.3053)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F68 #39680F
analogous
#110F68 #3E0F68 #680F65
triadic
#3E0F68 #683E0F #0F683E
tetradic
#3E0F68 #68110F #39680F #0F6568
square
#3E0F68 #68110F #39680F #0F6568
split-complementary
#3E0F68 #65680F #0F6811
monochromatic
#10041B #1E0733 #3E0F68 #5E179D #7E1ED3

Accessibility & contrast

On white

14.26
#3E0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0F68
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F68#FFFFFF#000000##FFFFFF
##3E0F681.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0f68;
/* rgb */ color: rgb(62, 15, 104);
/* oklch */ color: oklch(30.5% 0.141 302.2);
Tailwind
colors: {
  custom: {
    50: '#785494',
    500: '#3e0f68',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f68;
$custom-light: #785494;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f68",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 271.685,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30514,
    "c": 0.14117,
    "h": 302.2
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#3E0F68
secondary
#66A132
accent
#F1368F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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