#3B23AE#3B23AE

#3B23AE is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.5% C 0.203 H 279.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3B23AE
RGBrgb(59, 35, 174)
HSLhsl(250, 67%, 41%)
HSVhsv(250, 80%, 68%)
CMYKcmyk(66.1%, 79.9%, 0%, 31.8%)
CIE-LABlab(27.26, 49.90, -69.26)
CIE-LCHlch(27.26, 85.36, 305.78°)
OKLaboklab(39.53% 0.0338 -0.2)
OKLCHoklch(39.53% 0.203 279.6)
XYZxyz(10.0422, 5.1870, 40.5082)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B23AE #96AE23
analogous
#2350AE #3B23AE #8023AE
triadic
#3B23AE #AE3B23 #23AE3B
tetradic
#3B23AE #AE2350 #96AE23 #23AE80
square
#3B23AE #AE2350 #96AE23 #23AE80
split-complementary
#3B23AE #AE8023 #50AE23
monochromatic
#180F48 #2A197B #3B23AE #5337D7 #7F6AE1

Accessibility & contrast

On white

10.31
#3B23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3B23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B23AE
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B23AE#FFFFFF#000000##FFFFFF
##3B23AE1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b23ae;
/* rgb */ color: rgb(59, 35, 174);
/* oklch */ color: oklch(39.5% 0.203 279.6);
Tailwind
colors: {
  custom: {
    50: '#8162c7',
    500: '#3b23ae',
    950: '#000000',
  },
}
SCSS
$custom: #3b23ae;
$custom-light: #8162c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b23ae",
  "rgb": {
    "r": 59,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 250.36,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39526,
    "c": 0.2028,
    "h": 279.6
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#3B23AE
secondary
#B6C766
accent
#E93ECC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3B23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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