#3A2AB1#3A2AB1

#3A2AB1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.200 H 278.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3A2AB1
RGBrgb(58, 42, 177)
HSLhsl(247, 62%, 43%)
HSVhsv(247, 76%, 69%)
CMYKcmyk(67.2%, 76.3%, 0%, 30.6%)
CIE-LABlab(28.72, 47.21, -68.65)
CIE-LCHlch(28.72, 83.31, 304.52°)
OKLaboklab(40.62% 0.0278 -0.1983)
OKLCHoklch(40.62% 0.2 278)
XYZxyz(10.5061, 5.7289, 42.1386)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2AB1 #A1B12A
analogous
#2A5DB1 #3A2AB1 #7D2AB1
triadic
#3A2AB1 #B13A2A #2AB13A
tetradic
#3A2AB1 #B12A5D #A1B12A #2AB17D
square
#3A2AB1 #B12A5D #A1B12A #2AB17D
split-complementary
#3A2AB1 #B17D2A #5DB12A
monochromatic
#1A134E #2A1E80 #3A2AB1 #5645D3 #8377DF

Accessibility & contrast

On white

9.79
#3A2AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3A2AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2AB1
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2AB1#FFFFFF#000000##FFFFFF
##3A2AB11.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a2ab1;
/* rgb */ color: rgb(58, 42, 177);
/* oklch */ color: oklch(40.6% 0.200 278.0);
Tailwind
colors: {
  custom: {
    50: '#8167ca',
    500: '#3a2ab1',
    950: '#000000',
  },
}
SCSS
$custom: #3a2ab1;
$custom-light: #8167ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2ab1",
  "rgb": {
    "r": 58,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 247.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40618,
    "c": 0.20024,
    "h": 278
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#3A2AB1
secondary
#BCC670
accent
#E543D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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