#3E0F66#3E0F66

#3E0F66 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.139 H 303.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#3E0F66
RGBrgb(62, 15, 102)
HSLhsl(272, 74%, 23%)
HSVhsv(272, 85%, 40%)
CMYKcmyk(39.2%, 85.3%, 0%, 60%)
CIE-LABlab(17.11, 38.91, -40.83)
CIE-LCHlch(17.11, 56.40, 313.62°)
OKLaboklab(30.32% 0.0758 -0.1165)
OKLCHoklch(30.32% 0.139 303)
XYZxyz(4.5551, 2.3251, 12.7766)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F66 #37660F
analogous
#130F66 #3E0F66 #660F62
triadic
#3E0F66 #663E0F #0F663E
tetradic
#3E0F66 #66130F #37660F #0F6266
square
#3E0F66 #66130F #37660F #0F6266
split-complementary
#3E0F66 #62660F #0F6613
monochromatic
#10041B #1E0731 #3E0F66 #5E179B #7F1FD1

Accessibility & contrast

On white

14.33
#3E0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0F66
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F66#FFFFFF#000000##FFFFFF
##3E0F661.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#36273B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e0f66;
/* rgb */ color: rgb(62, 15, 102);
/* oklch */ color: oklch(30.3% 0.139 303.0);
Tailwind
colors: {
  custom: {
    50: '#785492',
    500: '#3e0f66',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f66;
$custom-light: #785492;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f66",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 272.414,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30324,
    "c": 0.13904,
    "h": 303
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#3E0F66
secondary
#649F32
accent
#F1378C
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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