#3B23AC#3B23AC

#3B23AC is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.3% C 0.200 H 279.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#3B23AC
RGBrgb(59, 35, 172)
HSLhsl(251, 66%, 41%)
HSVhsv(251, 80%, 67%)
CMYKcmyk(65.7%, 79.7%, 0%, 32.5%)
CIE-LABlab(27.04, 49.31, -68.41)
CIE-LCHlch(27.04, 84.33, 305.78°)
OKLaboklab(39.31% 0.0343 -0.1975)
OKLCHoklch(39.31% 0.2 279.9)
XYZxyz(9.8487, 5.1096, 39.4890)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B23AC #94AC23
analogous
#234FAC #3B23AC #7F23AC
triadic
#3B23AC #AC3B23 #23AC3B
tetradic
#3B23AC #AC234F #94AC23 #23AC7F
square
#3B23AC #AC234F #94AC23 #23AC7F
split-complementary
#3B23AC #AC7F23 #4FAC23
monochromatic
#180E46 #2A1979 #3B23AC #5236D6 #7E69E0

Accessibility & contrast

On white

10.39
#3B23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3B23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B23AC
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B23AC#FFFFFF#000000##FFFFFF
##3B23AC1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b23ac;
/* rgb */ color: rgb(59, 35, 172);
/* oklch */ color: oklch(39.3% 0.200 279.9);
Tailwind
colors: {
  custom: {
    50: '#8162c6',
    500: '#3b23ac',
    950: '#000000',
  },
}
SCSS
$custom: #3b23ac;
$custom-light: #8162c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b23ac",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 250.511,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39311,
    "c": 0.20047,
    "h": 279.9
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#3B23AC
secondary
#B5C664
accent
#E93FCB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3B23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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