#3A2CC3#3A2CC3

#3A2CC3 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.8% C 0.220 H 275.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#3A2CC3
RGBrgb(58, 44, 195)
HSLhsl(246, 63%, 47%)
HSVhsv(246, 77%, 76%)
CMYKcmyk(70.3%, 77.4%, 0%, 23.5%)
CIE-LABlab(30.97, 51.75, -75.59)
CIE-LCHlch(30.97, 91.60, 304.40°)
OKLaboklab(42.76% 0.0225 -0.2185)
OKLCHoklch(42.76% 0.22 275.9)
XYZxyz(12.4927, 6.6399, 52.2424)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2CC3 #B5C32C
analogous
#2C6AC3 #3A2CC3 #862CC3
triadic
#3A2CC3 #C33A2C #2CC33A
tetradic
#3A2CC3 #C32C6A #B5C32C #2CC386
square
#3A2CC3 #C32C6A #B5C32C #2CC386
split-complementary
#3A2CC3 #C3862C #6AC32C
monochromatic
#1C155F #2B2191 #3A2CC3 #6054D8 #8E86E4

Accessibility & contrast

On white

9.02
#3A2CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A2CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2CC3
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2CC3#FFFFFF#000000##FFFFFF
##3A2CC31.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC7
Deuteranopia (green-blind)
#0042C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a2cc3;
/* rgb */ color: rgb(58, 44, 195);
/* oklch */ color: oklch(42.8% 0.220 275.9);
Tailwind
colors: {
  custom: {
    50: '#8569d7',
    500: '#3a2cc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a2cc3;
$custom-light: #8569d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2cc3",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 245.563,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42762,
    "c": 0.21967,
    "h": 275.9
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#3A2CC3
secondary
#C6CD7E
accent
#E642D7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A2CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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