#3E0F65#3E0F65

#3E0F65 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.138 H 303.5°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#3E0F65
RGBrgb(62, 15, 101)
HSLhsl(273, 74%, 23%)
HSVhsv(273, 85%, 40%)
CMYKcmyk(38.6%, 85.1%, 0%, 60.4%)
CIE-LABlab(17.01, 38.65, -40.33)
CIE-LCHlch(17.01, 55.86, 313.79°)
OKLaboklab(30.23% 0.0761 -0.1151)
OKLCHoklch(30.23% 0.138 303.5)
XYZxyz(4.5058, 2.3054, 12.5170)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0F65 #36650F
analogous
#130F65 #3E0F65 #650F61
triadic
#3E0F65 #653E0F #0F653E
tetradic
#3E0F65 #65130F #36650F #0F6165
square
#3E0F65 #65130F #36650F #0F6165
split-complementary
#3E0F65 #61650F #0F6513
monochromatic
#10041B #1D0730 #3E0F65 #5F179A #7F1FD0

Accessibility & contrast

On white

14.37
#3E0F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0F65
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0F65#FFFFFF#000000##FFFFFF
##3E0F651.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0f65;
/* rgb */ color: rgb(62, 15, 101);
/* oklch */ color: oklch(30.2% 0.138 303.5);
Tailwind
colors: {
  custom: {
    50: '#785492',
    500: '#3e0f65',
    950: '#000000',
  },
}
SCSS
$custom: #3e0f65;
$custom-light: #785492;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0f65",
  "rgb": {
    "r": 62,
    "g": 15,
    "b": 101
  },
  "hsl": {
    "h": 272.791,
    "s": 74.138,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30229,
    "c": 0.13797,
    "h": 303.5
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#3E0F65
secondary
#639E32
accent
#F1378B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E0F65

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

Preview Lab → · Contrast checker → · Palette generator →

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