#3E235B#3E235B

#3E235B is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.1% C 0.098 H 303.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#3E235B
RGBrgb(62, 35, 91)
HSLhsl(269, 44%, 25%)
HSVhsv(269, 62%, 36%)
CMYKcmyk(31.9%, 61.5%, 0%, 64.3%)
CIE-LABlab(19.97, 25.51, -28.92)
CIE-LCHlch(19.97, 38.56, 311.42°)
OKLaboklab(32.09% 0.0543 -0.0817)
OKLCHoklch(32.09% 0.098 303.6)
XYZxyz(4.4755, 2.9815, 10.2352)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E235B #405B23
analogous
#23245B #3E235B #5A235B
triadic
#3E235B #5B3E23 #235B3E
tetradic
#3E235B #5B2324 #405B23 #235B5A
square
#3E235B #5B2324 #405B23 #235B5A
split-complementary
#3E235B #5B5A23 #245B23
monochromatic
#0F0916 #20122F #3E235B #5C3487 #7A45B3

Accessibility & contrast

On white

13.15
#3E235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3E235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E235B
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E235B#FFFFFF#000000##FFFFFF
##3E235B1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#17305A
Tritanopia (blue-blind)
#392E3B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e235b;
/* rgb */ color: rgb(62, 35, 91);
/* oklch */ color: oklch(32.1% 0.098 303.6);
Tailwind
colors: {
  custom: {
    50: '#755f8a',
    500: '#3e235b',
    950: '#000000',
  },
}
SCSS
$custom: #3e235b;
$custom-light: #755f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e235b",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 268.929,
    "s": 44.444,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32089,
    "c": 0.09805,
    "h": 303.6
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#3E235B
secondary
#6E8F4B
accent
#D45496
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #3E235B

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

Preview Lab → · Contrast checker → · Palette generator →

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