#3A23AC#3A23AC

#3A23AC is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.2% C 0.201 H 279.4°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3A23AC
RGBrgb(58, 35, 172)
HSLhsl(250, 66%, 41%)
HSVhsv(250, 80%, 67%)
CMYKcmyk(66.3%, 79.7%, 0%, 32.5%)
CIE-LABlab(26.96, 49.21, -68.56)
CIE-LCHlch(26.96, 84.39, 305.67°)
OKLaboklab(39.23% 0.0329 -0.1979)
OKLCHoklch(39.23% 0.201 279.4)
XYZxyz(9.7900, 5.0794, 39.4862)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A23AC #95AC23
analogous
#2350AC #3A23AC #7E23AC
triadic
#3A23AC #AC3A23 #23AC3A
tetradic
#3A23AC #AC2350 #95AC23 #23AC7E
square
#3A23AC #AC2350 #95AC23 #23AC7E
split-complementary
#3A23AC #AC7E23 #50AC23
monochromatic
#180E46 #291979 #3A23AC #5136D6 #7D69E0

Accessibility & contrast

On white

10.42
#3A23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A23AC
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A23AC#FFFFFF#000000##FFFFFF
##3A23AC1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a23ac;
/* rgb */ color: rgb(58, 35, 172);
/* oklch */ color: oklch(39.2% 0.201 279.4);
Tailwind
colors: {
  custom: {
    50: '#8062c6',
    500: '#3a23ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a23ac;
$custom-light: #8062c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a23ac",
  "rgb": {
    "r": 58,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 250.073,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39231,
    "c": 0.20066,
    "h": 279.4
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#3A23AC
secondary
#B6C664
accent
#E93FCD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3A23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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