#3E255D#3E255D

#3E255D is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.097 H 301.9°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#3E255D
RGBrgb(62, 37, 93)
HSLhsl(267, 43%, 25%)
HSVhsv(267, 60%, 36%)
CMYKcmyk(33.3%, 60.2%, 0%, 63.5%)
CIE-LABlab(20.59, 24.82, -29.26)
CIE-LCHlch(20.59, 38.37, 310.31°)
OKLaboklab(32.59% 0.0514 -0.0827)
OKLCHoklch(32.59% 0.097 301.9)
XYZxyz(4.6235, 3.1376, 10.7158)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E255D #445D25
analogous
#25285D #3E255D #5A255D
triadic
#3E255D #5D3E25 #255D3E
tetradic
#3E255D #5D2528 #445D25 #255D5A
square
#3E255D #5D2528 #445D25 #255D5A
split-complementary
#3E255D #5D5A25 #285D25
monochromatic
#0F0916 #211431 #3E255D #5B3689 #7848B5

Accessibility & contrast

On white

12.90
#3E255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3E255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E255D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E255D#FFFFFF#000000##FFFFFF
##3E255D1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315F
Deuteranopia (green-blind)
#17315C
Tritanopia (blue-blind)
#38303D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e255d;
/* rgb */ color: rgb(62, 37, 93);
/* oklch */ color: oklch(32.6% 0.097 301.9);
Tailwind
colors: {
  custom: {
    50: '#76608b',
    500: '#3e255d',
    950: '#000000',
  },
}
SCSS
$custom: #3e255d;
$custom-light: #76608b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e255d",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 266.786,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32586,
    "c": 0.09733,
    "h": 301.9
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#3E255D
secondary
#72904D
accent
#D3559B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #3E255D

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

Preview Lab → · Contrast checker → · Palette generator →

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