#3A2B60#3A2B60

#3A2B60 is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.5% C 0.091 H 294.0°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#3A2B60
RGBrgb(58, 43, 96)
HSLhsl(257, 38%, 27%)
HSVhsv(257, 55%, 38%)
CMYKcmyk(39.6%, 55.2%, 0%, 62.4%)
CIE-LABlab(21.84, 20.67, -29.25)
CIE-LCHlch(21.84, 35.82, 305.24°)
OKLaboklab(33.47% 0.0369 -0.0828)
OKLCHoklch(33.47% 0.091 294)
XYZxyz(4.7196, 3.4717, 11.4855)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2B60 #51602B
analogous
#2B3760 #3A2B60 #542B60
triadic
#3A2B60 #603A2B #2B603A
tetradic
#3A2B60 #602B37 #51602B #2B6054
square
#3A2B60 #602B37 #51602B #2B6054
split-complementary
#3A2B60 #60542B #37602B
monochromatic
#0D0915 #201836 #3A2B60 #543E8A #6E53B2

Accessibility & contrast

On white

12.39
#3A2B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3A2B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2B60
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2B60#FFFFFF#000000##FFFFFF
##3A2B601.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163562
Deuteranopia (green-blind)
#19335F
Tritanopia (blue-blind)
#313641
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3a2b60;
/* rgb */ color: rgb(58, 43, 96);
/* oklch */ color: oklch(33.5% 0.091 294.0);
Tailwind
colors: {
  custom: {
    50: '#73648d',
    500: '#3a2b60',
    950: '#000000',
  },
}
SCSS
$custom: #3a2b60;
$custom-light: #73648d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2b60",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 256.981,
    "s": 38.129,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33472,
    "c": 0.09063,
    "h": 294
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#3A2B60
secondary
#819255
accent
#CE5AAD
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#08050C
muted
#7B7A7D

Preview Lab

Preview with #3A2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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