#3A2E50#3A2E50

#3A2E50 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.1% C 0.060 H 299.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#3A2E50
RGBrgb(58, 46, 80)
HSLhsl(261, 27%, 25%)
HSVhsv(261, 43%, 31%)
CMYKcmyk(27.5%, 42.5%, 0%, 68.6%)
CIE-LABlab(21.70, 13.84, -18.88)
CIE-LCHlch(21.70, 23.41, 306.26°)
OKLaboklab(33.05% 0.0295 -0.0525)
OKLCHoklch(33.05% 0.06 299.3)
XYZxyz(4.1696, 3.4327, 8.0308)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E50 #44502E
analogous
#2E3350 #3A2E50 #4B2E50
triadic
#3A2E50 #503A2E #2E503A
tetradic
#3A2E50 #502E33 #44502E #2E504B
square
#3A2E50 #502E33 #44502E #2E504B
split-complementary
#3A2E50 #504B2E #33502E
monochromatic
#0E0B13 #1E1829 #3A2E50 #564477 #725B9E

Accessibility & contrast

On white

12.45
#3A2E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A2E50
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E50#FFFFFF#000000##FFFFFF
##3A2E501.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253451
Deuteranopia (green-blind)
#28344F
Tritanopia (blue-blind)
#36343B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3a2e50;
/* rgb */ color: rgb(58, 46, 80);
/* oklch */ color: oklch(33.1% 0.060 299.3);
Tailwind
colors: {
  custom: {
    50: '#716681',
    500: '#3a2e50',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e50;
$custom-light: #716681;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e50",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 261.176,
    "s": 26.984,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3305,
    "c": 0.06028,
    "h": 299.3
  },
  "luminance": 0.03433
}

Semantic roles & 50–950 ramp

primary
#3A2E50
secondary
#738158
accent
#C364A2
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #3A2E50

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

Preview Lab → · Contrast checker → · Palette generator →

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