#3B23AA#3B23AA

#3B23AA is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.198 H 280.1°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3B23AA
RGBrgb(59, 35, 170)
HSLhsl(251, 66%, 40%)
HSVhsv(251, 79%, 67%)
CMYKcmyk(65.3%, 79.4%, 0%, 33.3%)
CIE-LABlab(26.83, 48.71, -67.56)
CIE-LCHlch(26.83, 83.29, 305.79°)
OKLaboklab(39.1% 0.0349 -0.195)
OKLCHoklch(39.1% 0.198 280.1)
XYZxyz(9.6581, 5.0334, 38.4850)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B23AA #92AA23
analogous
#234EAA #3B23AA #7F23AA
triadic
#3B23AA #AA3B23 #23AA3B
tetradic
#3B23AA #AA234E #92AA23 #23AA7F
square
#3B23AA #AA234E #92AA23 #23AA7F
split-complementary
#3B23AA #AA7F23 #4EAA23
monochromatic
#180E44 #291977 #3B23AA #5135D5 #7D68E0

Accessibility & contrast

On white

10.46
#3B23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3B23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B23AA
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B23AA#FFFFFF#000000##FFFFFF
##3B23AA1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b23aa;
/* rgb */ color: rgb(59, 35, 170);
/* oklch */ color: oklch(39.1% 0.198 280.1);
Tailwind
colors: {
  custom: {
    50: '#8062c5',
    500: '#3b23aa',
    950: '#000000',
  },
}
SCSS
$custom: #3b23aa;
$custom-light: #8062c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b23aa",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 250.667,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39098,
    "c": 0.19814,
    "h": 280.1
  },
  "luminance": 0.05034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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