#3A2B68#3A2B68

#3A2B68 is a dark, moderate violet. Relative luminance 0.036; OKLCH L 34.1% C 0.103 H 291.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#3A2B68
RGBrgb(58, 43, 104)
HSLhsl(255, 41%, 29%)
HSVhsv(255, 59%, 41%)
CMYKcmyk(44.2%, 58.7%, 0%, 59.2%)
CIE-LABlab(22.40, 23.17, -33.59)
CIE-LCHlch(22.40, 40.81, 304.60°)
OKLaboklab(34.06% 0.0373 -0.0955)
OKLCHoklch(34.06% 0.103 291.3)
XYZxyz(5.1068, 3.6266, 13.5250)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2B68 #59682B
analogous
#2B3B68 #3A2B68 #592B68
triadic
#3A2B68 #683A2B #2B683A
tetradic
#3A2B68 #682B3B #59682B #2B6859
square
#3A2B68 #682B3B #59682B #2B6859
split-complementary
#3A2B68 #68592B #3B682B
monochromatic
#0C0916 #22193D #3A2B68 #523D93 #6D55B9

Accessibility & contrast

On white

12.17
#3A2B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3A2B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2B68
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2B68#FFFFFF#000000##FFFFFF
##3A2B681.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C376A
Deuteranopia (green-blind)
#0F3467
Tritanopia (blue-blind)
#2D3845
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a2b68;
/* rgb */ color: rgb(58, 43, 104);
/* oklch */ color: oklch(34.1% 0.103 291.3);
Tailwind
colors: {
  custom: {
    50: '#746593',
    500: '#3a2b68',
    950: '#000000',
  },
}
SCSS
$custom: #3a2b68;
$custom-light: #746593;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2b68",
  "rgb": {
    "r": 58,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 254.754,
    "s": 41.497,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.10254,
    "h": 291.3
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#3A2B68
secondary
#899A55
accent
#D156B3
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #3A2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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