#3A2FBB#3A2FBB

#3A2FBB is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.207 H 276.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3A2FBB
RGBrgb(58, 47, 187)
HSLhsl(245, 60%, 46%)
HSVhsv(245, 75%, 73%)
CMYKcmyk(69%, 74.9%, 0%, 26.7%)
CIE-LABlab(30.69, 47.69, -71.34)
CIE-LCHlch(30.69, 85.81, 303.76°)
OKLaboklab(42.31% 0.0228 -0.2062)
OKLCHoklch(42.31% 0.207 276.3)
XYZxyz(11.7281, 6.5194, 47.6444)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2FBB #B0BB2F
analogous
#2F6ABB #3A2FBB #802FBB
triadic
#3A2FBB #BB3A2F #2FBB3A
tetradic
#3A2FBB #BB2F6A #B0BB2F #2FBB80
square
#3A2FBB #BB2F6A #B0BB2F #2FBB80
split-complementary
#3A2FBB #BB802F #6ABB2F
monochromatic
#1C1659 #2B238A #3A2FBB #5D53D4 #8B84E0

Accessibility & contrast

On white

9.11
#3A2FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3A2FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2FBB
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2FBB#FFFFFF#000000##FFFFFF
##3A2FBB1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a2fbb;
/* rgb */ color: rgb(58, 47, 187);
/* oklch */ color: oklch(42.3% 0.207 276.3);
Tailwind
colors: {
  custom: {
    50: '#836ad1',
    500: '#3a2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a2fbb;
$custom-light: #836ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2fbb",
  "rgb": {
    "r": 58,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 244.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.20745,
    "h": 276.3
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#3A2FBB
secondary
#C3C97C
accent
#E345D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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