#3A2376#3A2376

#3A2376 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.134 H 290.1°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#3A2376
RGBrgb(58, 35, 118)
HSLhsl(257, 54%, 30%)
HSVhsv(257, 70%, 46%)
CMYKcmyk(50.8%, 70.3%, 0%, 53.7%)
CIE-LABlab(21.61, 32.60, -43.88)
CIE-LCHlch(21.61, 54.67, 306.61°)
OKLaboklab(33.84% 0.046 -0.1258)
OKLCHoklch(33.84% 0.134 290.1)
XYZxyz(5.6150, 3.4094, 17.4982)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2376 #5F7623
analogous
#233576 #3A2376 #642376
triadic
#3A2376 #763A23 #23763A
tetradic
#3A2376 #762335 #5F7623 #237664
square
#3A2376 #762335 #5F7623 #237664
split-complementary
#3A2376 #766423 #357623
monochromatic
#0C0718 #231547 #3A2376 #5131A5 #6D4AC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A2376#FFFFFF#000000##FFFFFF
##3A23761.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)
#003579
Deuteranopia (green-blind)
#003274
Tritanopia (blue-blind)
#263849
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3a2376;
/* rgb */ color: rgb(58, 35, 118);
/* oklch */ color: oklch(33.8% 0.134 290.1);
Tailwind
colors: {
  custom: {
    50: '#76609e',
    500: '#3a2376',
    950: '#000000',
  },
}
SCSS
$custom: #3a2376;
$custom-light: #76609e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2376",
  "rgb": {
    "r": 58,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 256.627,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.33843,
    "c": 0.13394,
    "h": 290.1
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#3A2376
secondary
#8FA94C
accent
#DE4AB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3A2376

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

Preview Lab → · Contrast checker → · Palette generator →

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