#3A2B85#3A2B85

#3A2B85 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.143 H 284.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#3A2B85
RGBrgb(58, 43, 133)
HSLhsl(250, 51%, 35%)
HSVhsv(250, 68%, 52%)
CMYKcmyk(56.4%, 67.7%, 0%, 47.8%)
CIE-LABlab(24.70, 32.54, -48.34)
CIE-LCHlch(24.70, 58.27, 303.95°)
OKLaboklab(36.48% 0.0356 -0.1389)
OKLCHoklch(36.48% 0.143 284.4)
XYZxyz(6.8412, 4.3204, 22.6592)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2B85 #76852B
analogous
#2B4985 #3A2B85 #672B85
triadic
#3A2B85 #853A2B #2B853A
tetradic
#3A2B85 #852B49 #76852B #2B8567
square
#3A2B85 #852B49 #76852B #2B8567
split-complementary
#3A2B85 #85672B #49852B
monochromatic
#120D29 #261C57 #3A2B85 #4E3AB3 #715FCB

Accessibility & contrast

On white

11.26
#3A2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3A2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2B85
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2B85#FFFFFF#000000##FFFFFF
##3A2B851.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#184254
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3a2b85;
/* rgb */ color: rgb(58, 43, 133);
/* oklch */ color: oklch(36.5% 0.143 284.4);
Tailwind
colors: {
  custom: {
    50: '#7865a9',
    500: '#3a2b85',
    950: '#000000',
  },
}
SCSS
$custom: #3a2b85;
$custom-light: #7865a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2b85",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 250,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36476,
    "c": 0.14338,
    "h": 284.4
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#3A2B85
secondary
#A3B15B
accent
#DB4DC3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3A2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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