#3A2484#3A2484

#3A2484 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.151 H 286.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#3A2484
RGBrgb(58, 36, 132)
HSLhsl(254, 57%, 33%)
HSVhsv(254, 73%, 52%)
CMYKcmyk(56.1%, 72.7%, 0%, 48.2%)
CIE-LABlab(23.09, 36.39, -50.35)
CIE-LCHlch(23.09, 62.12, 305.85°)
OKLaboklab(35.29% 0.0424 -0.1448)
OKLCHoklch(35.29% 0.151 286.3)
XYZxyz(6.5394, 3.8269, 22.2194)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2484 #6E8424
analogous
#243E84 #3A2484 #6A2484
triadic
#3A2484 #843A24 #24843A
tetradic
#3A2484 #84243E #6E8424 #24846A
square
#3A2484 #84243E #6E8424 #24846A
split-complementary
#3A2484 #846A24 #3E8424
monochromatic
#100A24 #251754 #3A2484 #4F31B4 #6F52D0

Accessibility & contrast

On white

11.90
#3A2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3A2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2484
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2484#FFFFFF#000000##FFFFFF
##3A24841.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#1A3D51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3a2484;
/* rgb */ color: rgb(58, 36, 132);
/* oklch */ color: oklch(35.3% 0.151 286.3);
Tailwind
colors: {
  custom: {
    50: '#7961a9',
    500: '#3a2484',
    950: '#000000',
  },
}
SCSS
$custom: #3a2484;
$custom-light: #7961a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2484",
  "rgb": {
    "r": 58,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 253.75,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3529,
    "c": 0.15086,
    "h": 286.3
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#3A2484
secondary
#9DB450
accent
#E047BD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3A2484

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

Preview Lab → · Contrast checker → · Palette generator →

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