#3A2BB3#3A2BB3

#3A2BB3 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.202 H 277.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#3A2BB3
RGBrgb(58, 43, 179)
HSLhsl(247, 61%, 44%)
HSVhsv(247, 76%, 70%)
CMYKcmyk(67.6%, 76%, 0%, 29.8%)
CIE-LABlab(29.11, 47.31, -69.19)
CIE-LCHlch(29.11, 83.82, 304.36°)
OKLaboklab(40.96% 0.0267 -0.1999)
OKLCHoklch(40.96% 0.202 277.6)
XYZxyz(10.7428, 5.8810, 43.2081)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2BB3 #A4B32B
analogous
#2B60B3 #3A2BB3 #7E2BB3
triadic
#3A2BB3 #B33A2B #2BB33A
tetradic
#3A2BB3 #B32B60 #A4B32B #2BB37E
square
#3A2BB3 #B32B60 #A4B32B #2BB37E
split-complementary
#3A2BB3 #B37E2B #60B32B
monochromatic
#1A1350 #2A1F82 #3A2BB3 #5748D3 #8579DF

Accessibility & contrast

On white

9.65
#3A2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3A2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2BB3
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2BB3#FFFFFF#000000##FFFFFF
##3A2BB31.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a2bb3;
/* rgb */ color: rgb(58, 43, 179);
/* oklch */ color: oklch(41.0% 0.202 277.6);
Tailwind
colors: {
  custom: {
    50: '#8167cb',
    500: '#3a2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2bb3;
$custom-light: #8167cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2bb3",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 246.618,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.20168,
    "h": 277.6
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#3A2BB3
secondary
#BEC773
accent
#E443D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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