#3E255E#3E255E

#3E255E is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.7% C 0.099 H 301.4°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#3E255E
RGBrgb(62, 37, 94)
HSLhsl(266, 44%, 26%)
HSVhsv(266, 61%, 37%)
CMYKcmyk(34%, 60.6%, 0%, 63.1%)
CIE-LABlab(20.66, 25.11, -29.81)
CIE-LCHlch(20.66, 38.97, 310.11°)
OKLaboklab(32.66% 0.0514 -0.0843)
OKLCHoklch(32.66% 0.099 301.4)
XYZxyz(4.6681, 3.1554, 10.9506)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E255E #455E25
analogous
#25285E #3E255E #5A255E
triadic
#3E255E #5E3E25 #255E3E
tetradic
#3E255E #5E2528 #455E25 #255E5A
square
#3E255E #5E2528 #455E25 #255E5A
split-complementary
#3E255E #5E5A25 #285E25
monochromatic
#0E0916 #211432 #3E255E #5B368A #7848B6

Accessibility & contrast

On white

12.88
#3E255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E255E
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E255E#FFFFFF#000000##FFFFFF
##3E255E1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3160
Deuteranopia (green-blind)
#16315D
Tritanopia (blue-blind)
#38303D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e255e;
/* rgb */ color: rgb(62, 37, 94);
/* oklch */ color: oklch(32.7% 0.099 301.4);
Tailwind
colors: {
  custom: {
    50: '#76608c',
    500: '#3e255e',
    950: '#000000',
  },
}
SCSS
$custom: #3e255e;
$custom-light: #76608c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e255e",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 266.316,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32659,
    "c": 0.09873,
    "h": 301.4
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#3E255E
secondary
#74914D
accent
#D3559C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09050C
muted
#7B797D

Preview Lab

Preview with #3E255E

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

Preview Lab → · Contrast checker → · Palette generator →

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