#3A2ACA#3A2ACA

#3A2ACA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.3% C 0.229 H 275.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3A2ACA
RGBrgb(58, 42, 202)
HSLhsl(246, 66%, 48%)
HSVhsv(246, 79%, 79%)
CMYKcmyk(71.3%, 79.2%, 0%, 20.8%)
CIE-LABlab(31.39, 54.86, -78.99)
CIE-LCHlch(31.39, 96.17, 304.78°)
OKLaboklab(43.28% 0.0216 -0.2284)
OKLCHoklch(43.28% 0.229 275.4)
XYZxyz(13.2300, 6.8185, 56.4845)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2ACA #BACA2A
analogous
#2A6ACA #3A2ACA #8A2ACA
triadic
#3A2ACA #CA3A2A #2ACA3A
tetradic
#3A2ACA #CA2A6A #BACA2A #2ACA8A
square
#3A2ACA #CA2A6A #BACA2A #2ACA8A
split-complementary
#3A2ACA #CA8A2A #6ACA2A
monochromatic
#1D1565 #2B1F97 #3A2ACA #6355DC #9288E6

Accessibility & contrast

On white

8.88
#3A2ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A2ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2ACA
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2ACA#FFFFFF#000000##FFFFFF
##3A2ACA1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a2aca;
/* rgb */ color: rgb(58, 42, 202);
/* oklch */ color: oklch(43.3% 0.229 275.4);
Tailwind
colors: {
  custom: {
    50: '#8668dc',
    500: '#3a2aca',
    950: '#000000',
  },
}
SCSS
$custom: #3a2aca;
$custom-light: #8668dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2aca",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 246,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43275,
    "c": 0.22942,
    "h": 275.4
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#3A2ACA
secondary
#C8D080
accent
#E93FD8
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A2ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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