#3A2964#3A2964

#3A2964 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.4% C 0.100 H 293.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#3A2964
RGBrgb(58, 41, 100)
HSLhsl(257, 42%, 28%)
HSVhsv(257, 59%, 39%)
CMYKcmyk(42%, 59%, 0%, 60.8%)
CIE-LABlab(21.60, 23.23, -32.26)
CIE-LCHlch(21.60, 39.76, 305.75°)
OKLaboklab(33.38% 0.0399 -0.0916)
OKLCHoklch(33.38% 0.1 293.5)
XYZxyz(4.8375, 3.4054, 12.4566)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2964 #536429
analogous
#293664 #3A2964 #572964
triadic
#3A2964 #643A29 #29643A
tetradic
#3A2964 #642936 #536429 #296457
square
#3A2964 #642936 #536429 #296457
split-complementary
#3A2964 #645729 #366429
monochromatic
#0D0916 #211739 #3A2964 #533B8F #6E50B7

Accessibility & contrast

On white

12.49
#3A2964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3A2964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2964
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2964#FFFFFF#000000##FFFFFF
##3A29641.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3466
Deuteranopia (green-blind)
#113363
Tritanopia (blue-blind)
#2F3542
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3a2964;
/* rgb */ color: rgb(58, 41, 100);
/* oklch */ color: oklch(33.4% 0.100 293.5);
Tailwind
colors: {
  custom: {
    50: '#736390',
    500: '#3a2964',
    950: '#000000',
  },
}
SCSS
$custom: #3a2964;
$custom-light: #736390;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2964",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 100
  },
  "hsl": {
    "h": 257.288,
    "s": 41.844,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33381,
    "c": 0.09995,
    "h": 293.5
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#3A2964
secondary
#839652
accent
#D256AE
background
#F7F5F8
surface
#EDEAF0
border
#C8C6CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #3A2964

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

Preview Lab → · Contrast checker → · Palette generator →

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