#3A2B73#3A2B73

#3A2B73 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 34.9% C 0.118 H 288.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#3A2B73
RGBrgb(58, 43, 115)
HSLhsl(253, 46%, 31%)
HSVhsv(253, 63%, 45%)
CMYKcmyk(49.6%, 62.6%, 0%, 54.9%)
CIE-LABlab(23.22, 26.69, -39.36)
CIE-LCHlch(23.22, 47.55, 304.14°)
OKLaboklab(34.93% 0.0372 -0.1125)
OKLCHoklch(34.93% 0.118 288.3)
XYZxyz(5.7024, 3.8649, 16.6619)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2B73 #64732B
analogous
#2B4073 #3A2B73 #5E2B73
triadic
#3A2B73 #733A2B #2B733A
tetradic
#3A2B73 #732B40 #64732B #2B735E
square
#3A2B73 #732B40 #64732B #2B735E
split-complementary
#3A2B73 #735E2B #40732B
monochromatic
#0D0A1A #241A46 #3A2B73 #503CA0 #6E58C1

Accessibility & contrast

On white

11.84
#3A2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3A2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2B73
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2B73#FFFFFF#000000##FFFFFF
##3A2B731.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#273C4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3a2b73;
/* rgb */ color: rgb(58, 43, 115);
/* oklch */ color: oklch(34.9% 0.118 288.3);
Tailwind
colors: {
  custom: {
    50: '#75659c',
    500: '#3a2b73',
    950: '#000000',
  },
}
SCSS
$custom: #3a2b73;
$custom-light: #75659c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2b73",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 252.5,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.11846,
    "h": 288.3
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#3A2B73
secondary
#94A555
accent
#D553BA
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3A2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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