#3E2B53#3E2B53

#3E2B53 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.1% C 0.072 H 304.7°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#3E2B53
RGBrgb(62, 43, 83)
HSLhsl(269, 32%, 25%)
HSVhsv(269, 48%, 33%)
CMYKcmyk(25.3%, 48.2%, 0%, 67.5%)
CIE-LABlab(21.49, 18.08, -21.17)
CIE-LCHlch(21.49, 27.84, 310.50°)
OKLaboklab(33.06% 0.0409 -0.0591)
OKLCHoklch(33.06% 0.072 304.7)
XYZxyz(4.4115, 3.3764, 8.6012)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B53 #40532B
analogous
#2B2C53 #3E2B53 #522B53
triadic
#3E2B53 #533E2B #2B533E
tetradic
#3E2B53 #532B2C #40532B #2B5352
square
#3E2B53 #532B2C #40532B #2B5352
split-complementary
#3E2B53 #53522B #2C532B
monochromatic
#0F0A14 #20162B #3E2B53 #5C407B #7A55A4

Accessibility & contrast

On white

12.54
#3E2B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3E2B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2B53
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2B53#FFFFFF#000000##FFFFFF
##3E2B531.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213354
Deuteranopia (green-blind)
#253452
Tritanopia (blue-blind)
#3B323B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e2b53;
/* rgb */ color: rgb(62, 43, 83);
/* oklch */ color: oklch(33.1% 0.072 304.7);
Tailwind
colors: {
  custom: {
    50: '#746483',
    500: '#3e2b53',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b53;
$custom-light: #746483;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b53",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 83
  },
  "hsl": {
    "h": 268.5,
    "s": 31.746,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33056,
    "c": 0.07186,
    "h": 304.7
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#3E2B53
secondary
#6E8555
accent
#C86097
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #3E2B53

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

Preview Lab → · Contrast checker → · Palette generator →

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