#3A2CC1#3A2CC1

#3A2CC1 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.5% C 0.217 H 276.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3A2CC1
RGBrgb(58, 44, 193)
HSLhsl(246, 63%, 46%)
HSVhsv(246, 77%, 76%)
CMYKcmyk(69.9%, 77.2%, 0%, 24.3%)
CIE-LABlab(30.76, 51.14, -74.76)
CIE-LCHlch(30.76, 90.58, 304.37°)
OKLaboklab(42.55% 0.0229 -0.2161)
OKLCHoklch(42.55% 0.217 276.1)
XYZxyz(12.2681, 6.5500, 51.0595)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CC1 #B3C12C
analogous
#2C68C1 #3A2CC1 #852CC1
triadic
#3A2CC1 #C13A2C #2CC13A
tetradic
#3A2CC1 #C12C68 #B3C12C #2CC185
square
#3A2CC1 #C12C68 #B3C12C #2CC185
split-complementary
#3A2CC1 #C1852C #68C12C
monochromatic
#1C155D #2B218F #3A2CC1 #5F53D8 #8D84E3

Accessibility & contrast

On white

9.09
#3A2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A2CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CC1
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CC1#FFFFFF#000000##FFFFFF
##3A2CC11.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0042BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a2cc1;
/* rgb */ color: rgb(58, 44, 193);
/* oklch */ color: oklch(42.5% 0.217 276.1);
Tailwind
colors: {
  custom: {
    50: '#8469d5',
    500: '#3a2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cc1;
$custom-light: #8469d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cc1",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 245.638,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.21733,
    "h": 276.1
  },
  "luminance": 0.06551
}

Semantic roles & 50–950 ramp

primary
#3A2CC1
secondary
#C5CC7D
accent
#E642D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3A2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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