#3A2CAA#3A2CAA

#3A2CAA is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.190 H 278.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3A2CAA
RGBrgb(58, 44, 170)
HSLhsl(247, 59%, 42%)
HSVhsv(247, 74%, 67%)
CMYKcmyk(65.9%, 74.1%, 0%, 33.3%)
CIE-LABlab(28.39, 43.92, -65.00)
CIE-LCHlch(28.39, 78.45, 304.05°)
OKLaboklab(40.17% 0.0282 -0.1877)
OKLCHoklch(40.17% 0.19 278.5)
XYZxyz(9.8990, 5.6024, 38.5821)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CAA #9CAA2C
analogous
#2C5DAA #3A2CAA #792CAA
triadic
#3A2CAA #AA3A2C #2CAA3A
tetradic
#3A2CAA #AA2C5D #9CAA2C #2CAA79
square
#3A2CAA #AA2C5D #9CAA2C #2CAA79
split-complementary
#3A2CAA #AA792C #5DAA2C
monochromatic
#191349 #291F79 #3A2CAA #5444CF #8075DB

Accessibility & contrast

On white

9.90
#3A2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3A2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CAA
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CAA#FFFFFF#000000##FFFFFF
##3A2CAA1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a2caa;
/* rgb */ color: rgb(58, 44, 170);
/* oklch */ color: oklch(40.2% 0.190 278.5);
Tailwind
colors: {
  custom: {
    50: '#7f67c4',
    500: '#3a2caa',
    950: '#000000',
  },
}
SCSS
$custom: #3a2caa;
$custom-light: #7f67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2caa",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 246.667,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4017,
    "c": 0.18978,
    "h": 278.5
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#3A2CAA
secondary
#BAC36F
accent
#E246D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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