#3A2C90#3A2C90

#3A2C90 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.157 H 282.2°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3A2C90
RGBrgb(58, 44, 144)
HSLhsl(248, 53%, 37%)
HSVhsv(248, 69%, 56%)
CMYKcmyk(59.7%, 69.4%, 0%, 43.5%)
CIE-LABlab(25.90, 35.52, -53.22)
CIE-LCHlch(25.90, 63.99, 303.72°)
OKLaboklab(37.64% 0.0331 -0.1532)
OKLCHoklch(37.64% 0.157 282.2)
XYZxyz(7.6781, 4.7140, 26.8854)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C90 #82902C
analogous
#2C5090 #3A2C90 #6C2C90
triadic
#3A2C90 #903A2C #2C903A
tetradic
#3A2C90 #902C50 #82902C #2C906C
square
#3A2C90 #902C50 #82902C #2C906C
split-complementary
#3A2C90 #906C2C #50902C
monochromatic
#140F32 #271E61 #3A2C90 #4D3ABF #7566D0

Accessibility & contrast

On white

10.81
#3A2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3A2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C90
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C90#FFFFFF#000000##FFFFFF
##3A2C901.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#04465A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a2c90;
/* rgb */ color: rgb(58, 44, 144);
/* oklch */ color: oklch(37.6% 0.157 282.2);
Tailwind
colors: {
  custom: {
    50: '#7a66b1',
    500: '#3a2c90',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c90;
$custom-light: #7a66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c90",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 248.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37644,
    "c": 0.15676,
    "h": 282.2
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#3A2C90
secondary
#ABB761
accent
#DD4BC8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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