#3A2B95#3A2B95

#3A2B95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.164 H 281.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#3A2B95
RGBrgb(58, 43, 149)
HSLhsl(248, 55%, 38%)
HSVhsv(248, 71%, 58%)
CMYKcmyk(61.1%, 71.1%, 0%, 41.6%)
CIE-LABlab(26.15, 37.74, -55.91)
CIE-LCHlch(26.15, 67.46, 304.02°)
OKLaboklab(37.96% 0.0331 -0.1611)
OKLCHoklch(37.96% 0.164 281.6)
XYZxyz(8.0319, 4.7967, 28.9305)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2B95 #86952B
analogous
#2B5195 #3A2B95 #6F2B95
triadic
#3A2B95 #953A2B #2B953A
tetradic
#3A2B95 #952B51 #86952B #2B956F
square
#3A2B95 #952B51 #86952B #2B956F
split-complementary
#3A2B95 #956F2B #51952B
monochromatic
#151036 #281D66 #3A2B95 #4C39C4 #7667D3

Accessibility & contrast

On white

10.72
#3A2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3A2B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2B95
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2B95#FFFFFF#000000##FFFFFF
##3A2B951.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3a2b95;
/* rgb */ color: rgb(58, 43, 149);
/* oklch */ color: oklch(38.0% 0.164 281.6);
Tailwind
colors: {
  custom: {
    50: '#7b66b5',
    500: '#3a2b95',
    950: '#000000',
  },
}
SCSS
$custom: #3a2b95;
$custom-light: #7b66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2b95",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 248.491,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3796,
    "c": 0.16445,
    "h": 281.6
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#3A2B95
secondary
#ADBA62
accent
#DF49C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3A2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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