#3E2153#3E2153

#3E2153 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.2% C 0.091 H 308.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#3E2153
RGBrgb(62, 33, 83)
HSLhsl(275, 43%, 23%)
HSVhsv(275, 60%, 33%)
CMYKcmyk(25.3%, 60.2%, 0%, 67.5%)
CIE-LABlab(18.96, 24.56, -25.19)
CIE-LCHlch(18.96, 35.18, 314.28°)
OKLaboklab(31.17% 0.057 -0.0707)
OKLCHoklch(31.17% 0.091 308.8)
XYZxyz(4.0915, 2.7364, 8.4946)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2153 #365321
analogous
#252153 #3E2153 #53214F
triadic
#3E2153 #533E21 #21533E
tetradic
#3E2153 #532521 #365321 #214F53
square
#3E2153 #532521 #365321 #214F53
split-complementary
#3E2153 #4F5321 #215325
monochromatic
#100916 #1D1027 #3E2153 #5F327F #7F44AB

Accessibility & contrast

On white

13.57
#3E2153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3E2153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2153
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2153#FFFFFF#000000##FFFFFF
##3E21531.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112D55
Deuteranopia (green-blind)
#1B2E52
Tritanopia (blue-blind)
#3B2A36
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e2153;
/* rgb */ color: rgb(62, 33, 83);
/* oklch */ color: oklch(31.2% 0.091 308.8);
Tailwind
colors: {
  custom: {
    50: '#755d84',
    500: '#3e2153',
    950: '#000000',
  },
}
SCSS
$custom: #3e2153;
$custom-light: #755d84;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2153",
  "rgb": {
    "r": 62,
    "g": 33,
    "b": 83
  },
  "hsl": {
    "h": 274.8,
    "s": 43.103,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3117,
    "c": 0.09083,
    "h": 308.8
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#3E2153
secondary
#638749
accent
#D3558A
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #3E2153

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

Preview Lab → · Contrast checker → · Palette generator →

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