#3B23AD#3B23AD

#3B23AD is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.4% C 0.202 H 279.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#3B23AD
RGBrgb(59, 35, 173)
HSLhsl(250, 66%, 41%)
HSVhsv(250, 80%, 68%)
CMYKcmyk(65.9%, 79.8%, 0%, 32.2%)
CIE-LABlab(27.15, 49.61, -68.83)
CIE-LCHlch(27.15, 84.85, 305.78°)
OKLaboklab(39.42% 0.034 -0.1987)
OKLCHoklch(39.42% 0.202 279.7)
XYZxyz(9.9451, 5.1482, 39.9967)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B23AD #95AD23
analogous
#2350AD #3B23AD #8023AD
triadic
#3B23AD #AD3B23 #23AD3B
tetradic
#3B23AD #AD2350 #95AD23 #23AD80
square
#3B23AD #AD2350 #95AD23 #23AD80
split-complementary
#3B23AD #AD8023 #50AD23
monochromatic
#180E47 #2A197A #3B23AD #5337D6 #7E6AE1

Accessibility & contrast

On white

10.35
#3B23AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3B23AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B23AD
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B23AD#FFFFFF#000000##FFFFFF
##3B23AD1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#003BAB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b23ad;
/* rgb */ color: rgb(59, 35, 173);
/* oklch */ color: oklch(39.4% 0.202 279.7);
Tailwind
colors: {
  custom: {
    50: '#8162c7',
    500: '#3b23ad',
    950: '#000000',
  },
}
SCSS
$custom: #3b23ad;
$custom-light: #8162c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b23ad",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 250.435,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39418,
    "c": 0.20163,
    "h": 279.7
  },
  "luminance": 0.05149
}

Semantic roles & 50–950 ramp

primary
#3B23AD
secondary
#B6C765
accent
#E93FCC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3B23AD

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

Preview Lab → · Contrast checker → · Palette generator →

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