#3E236A#3E236A

#3E236A is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.3% C 0.118 H 297.0°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#3E236A
RGBrgb(62, 35, 106)
HSLhsl(263, 50%, 28%)
HSVhsv(263, 67%, 42%)
CMYKcmyk(41.5%, 67%, 0%, 58.4%)
CIE-LABlab(21.08, 29.84, -36.99)
CIE-LCHlch(21.08, 47.52, 308.89°)
OKLaboklab(33.25% 0.0537 -0.1054)
OKLCHoklch(33.25% 0.118 297)
XYZxyz(5.1885, 3.2667, 13.9901)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E236A #4F6A23
analogous
#232B6A #3E236A #62236A
triadic
#3E236A #6A3E23 #236A3E
tetradic
#3E236A #6A232B #4F6A23 #236A62
square
#3E236A #6A232B #4F6A23 #236A62
split-complementary
#3E236A #6A6223 #2B6A23
monochromatic
#0D0817 #23143C #3E236A #593298 #7546C2

Accessibility & contrast

On white

12.70
#3E236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3E236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E236A
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E236A#FFFFFF#000000##FFFFFF
##3E236A1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003268
Tritanopia (blue-blind)
#333343
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3e236a;
/* rgb */ color: rgb(62, 35, 106);
/* oklch */ color: oklch(33.3% 0.118 297.0);
Tailwind
colors: {
  custom: {
    50: '#775f95',
    500: '#3e236a',
    950: '#000000',
  },
}
SCSS
$custom: #3e236a;
$custom-light: #775f95;
$custom-dark: #000000;
JSON
{
  "hex": "#3e236a",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 262.817,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33254,
    "c": 0.11825,
    "h": 297
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#3E236A
secondary
#7E9D4B
accent
#DA4EA5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050D
muted
#7B797E

Preview Lab

Preview with #3E236A

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

Preview Lab → · Contrast checker → · Palette generator →

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