#3B23A4#3B23A4

#3B23A4 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.191 H 281.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3B23A4
RGBrgb(59, 35, 164)
HSLhsl(251, 65%, 39%)
HSVhsv(251, 79%, 64%)
CMYKcmyk(64%, 78.7%, 0%, 35.7%)
CIE-LABlab(26.19, 46.91, -64.99)
CIE-LCHlch(26.19, 80.15, 305.82°)
OKLaboklab(38.46% 0.0366 -0.1875)
OKLCHoklch(38.46% 0.191 281)
XYZxyz(9.1034, 4.8115, 35.5638)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B23A4 #8CA423
analogous
#234CA4 #3B23A4 #7C23A4
triadic
#3B23A4 #A43B23 #23A43B
tetradic
#3B23A4 #A4234C #8CA423 #23A47C
square
#3B23A4 #A4234C #8CA423 #23A47C
split-complementary
#3B23A4 #A47C23 #4CA423
monochromatic
#170D3F #291872 #3B23A4 #4F31D3 #7A64DE

Accessibility & contrast

On white

10.70
#3B23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3B23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B23A4
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B23A4#FFFFFF#000000##FFFFFF
##3B23A41.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0039A2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b23a4;
/* rgb */ color: rgb(59, 35, 164);
/* oklch */ color: oklch(38.5% 0.191 281.0);
Tailwind
colors: {
  custom: {
    50: '#7f62c0',
    500: '#3b23a4',
    950: '#000000',
  },
}
SCSS
$custom: #3b23a4;
$custom-light: #7f62c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b23a4",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 251.163,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.19109,
    "h": 281
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#3B23A4
secondary
#B1C360
accent
#E840C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3B23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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