#3A2B92#3A2B92

#3A2B92 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.161 H 282.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#3A2B92
RGBrgb(58, 43, 146)
HSLhsl(249, 54%, 37%)
HSVhsv(249, 71%, 57%)
CMYKcmyk(60.3%, 70.5%, 0%, 42.7%)
CIE-LABlab(25.87, 36.77, -54.52)
CIE-LCHlch(25.87, 65.76, 304.00°)
OKLaboklab(37.67% 0.0336 -0.157)
OKLCHoklch(37.67% 0.161 282.1)
XYZxyz(7.7955, 4.7021, 27.6854)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2B92 #83922B
analogous
#2B5092 #3A2B92 #6E2B92
triadic
#3A2B92 #923A2B #2B923A
tetradic
#3A2B92 #922B50 #83922B #2B926E
square
#3A2B92 #922B50 #83922B #2B926E
split-complementary
#3A2B92 #926E2B #50922B
monochromatic
#140F33 #271D63 #3A2B92 #4D39C1 #7566D2

Accessibility & contrast

On white

10.82
#3A2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2B92
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2B92#FFFFFF#000000##FFFFFF
##3A2B921.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a2b92;
/* rgb */ color: rgb(58, 43, 146);
/* oklch */ color: oklch(37.7% 0.161 282.1);
Tailwind
colors: {
  custom: {
    50: '#7b66b3',
    500: '#3a2b92',
    950: '#000000',
  },
}
SCSS
$custom: #3a2b92;
$custom-light: #7b66b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2b92",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 248.738,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37674,
    "c": 0.16057,
    "h": 282.1
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#3A2B92
secondary
#ABB861
accent
#DE4AC8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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