#3B2393#3B2393

#3B2393 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.171 H 284.0°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#3B2393
RGBrgb(59, 35, 147)
HSLhsl(253, 62%, 36%)
HSVhsv(253, 76%, 58%)
CMYKcmyk(59.9%, 76.2%, 0%, 42.4%)
CIE-LABlab(24.44, 41.74, -57.47)
CIE-LCHlch(24.44, 71.03, 305.99°)
OKLaboklab(36.71% 0.0413 -0.1656)
OKLCHoklch(36.71% 0.171 284)
XYZxyz(7.6695, 4.2380, 28.0120)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2393 #7B9323
analogous
#234393 #3B2393 #732393
triadic
#3B2393 #933B23 #23933B
tetradic
#3B2393 #932343 #7B9323 #239373
square
#3B2393 #932343 #7B9323 #239373
split-complementary
#3B2393 #937323 #439323
monochromatic
#130B30 #271762 #3B2393 #4F2FC4 #7459D7

Accessibility & contrast

On white

11.37
#3B2393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3B2393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2393
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2393#FFFFFF#000000##FFFFFF
##3B23931.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#054259
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3b2393;
/* rgb */ color: rgb(59, 35, 147);
/* oklch */ color: oklch(36.7% 0.171 284.0);
Tailwind
colors: {
  custom: {
    50: '#7c61b4',
    500: '#3b2393',
    950: '#000000',
  },
}
SCSS
$custom: #3b2393;
$custom-light: #7c61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2393",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 252.857,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36714,
    "c": 0.17065,
    "h": 284
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#3B2393
secondary
#A6BC56
accent
#E543C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3B2393

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

Preview Lab → · Contrast checker → · Palette generator →

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