#3E235E#3E235E

#3E235E is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.102 H 302.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#3E235E
RGBrgb(62, 35, 94)
HSLhsl(267, 46%, 25%)
HSVhsv(267, 63%, 37%)
CMYKcmyk(34%, 62.8%, 0%, 63.1%)
CIE-LABlab(20.18, 26.36, -30.57)
CIE-LCHlch(20.18, 40.37, 310.77°)
OKLaboklab(32.31% 0.0543 -0.0865)
OKLCHoklch(32.31% 0.102 302.1)
XYZxyz(4.6076, 3.0343, 10.9304)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E235E #435E23
analogous
#23255E #3E235E #5B235E
triadic
#3E235E #5E3E23 #235E3E
tetradic
#3E235E #5E2325 #435E23 #235E5B
square
#3E235E #5E2325 #435E23 #235E5B
split-complementary
#3E235E #5E5B23 #255E23
monochromatic
#0F0816 #211231 #3E235E #5B348B #7944B7

Accessibility & contrast

On white

13.07
#3E235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3E235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E235E
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E235E#FFFFFF#000000##FFFFFF
##3E235E1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073060
Deuteranopia (green-blind)
#13305D
Tritanopia (blue-blind)
#382F3C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e235e;
/* rgb */ color: rgb(62, 35, 94);
/* oklch */ color: oklch(32.3% 0.102 302.1);
Tailwind
colors: {
  custom: {
    50: '#765f8c',
    500: '#3e235e',
    950: '#000000',
  },
}
SCSS
$custom: #3e235e;
$custom-light: #765f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e235e",
  "rgb": {
    "r": 62,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 267.458,
    "s": 45.736,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32311,
    "c": 0.10213,
    "h": 302.1
  },
  "luminance": 0.03034
}

Semantic roles & 50–950 ramp

primary
#3E235E
secondary
#71924B
accent
#D55299
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3E235E

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

Preview Lab → · Contrast checker → · Palette generator →

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