#3E286A#3E286A

#3E286A is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.1% C 0.110 H 295.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#3E286A
RGBrgb(62, 40, 106)
HSLhsl(260, 45%, 29%)
HSVhsv(260, 62%, 42%)
CMYKcmyk(41.5%, 62.3%, 0%, 58.4%)
CIE-LABlab(22.24, 26.75, -35.12)
CIE-LCHlch(22.24, 44.15, 307.30°)
OKLaboklab(34.1% 0.0472 -0.0999)
OKLCHoklch(34.1% 0.11 295.3)
XYZxyz(5.3462, 3.5822, 14.0426)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E286A #546A28
analogous
#28336A #3E286A #5F286A
triadic
#3E286A #6A3E28 #286A3E
tetradic
#3E286A #6A2833 #546A28 #286A5F
square
#3E286A #6A2833 #546A28 #286A5F
split-complementary
#3E286A #6A5F28 #336A28
monochromatic
#0D0816 #24173E #3E286A #583996 #7450BD

Accessibility & contrast

On white

12.23
#3E286A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3E286A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E286A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E286A#FFFFFF#000000##FFFFFF
##3E286A1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366C
Deuteranopia (green-blind)
#0A3469
Tritanopia (blue-blind)
#333645
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e286a;
/* rgb */ color: rgb(62, 40, 106);
/* oklch */ color: oklch(34.1% 0.110 295.3);
Tailwind
colors: {
  custom: {
    50: '#776395',
    500: '#3e286a',
    950: '#000000',
  },
}
SCSS
$custom: #3e286a;
$custom-light: #776395;
$custom-dark: #000000;
JSON
{
  "hex": "#3e286a",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 106
  },
  "hsl": {
    "h": 260,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34097,
    "c": 0.11046,
    "h": 295.3
  },
  "luminance": 0.03582
}

Semantic roles & 50–950 ramp

primary
#3E286A
secondary
#839D51
accent
#D553AA
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3E286A

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

Preview Lab → · Contrast checker → · Palette generator →

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