#3A2390#3A2390

#3A2390 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.167 H 284.0°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#3A2390
RGBrgb(58, 35, 144)
HSLhsl(253, 61%, 35%)
HSVhsv(253, 76%, 56%)
CMYKcmyk(59.7%, 75.7%, 0%, 43.5%)
CIE-LABlab(24.05, 40.68, -56.27)
CIE-LCHlch(24.05, 69.43, 305.86°)
OKLaboklab(36.32% 0.0405 -0.1621)
OKLCHoklch(36.32% 0.167 284)
XYZxyz(7.3785, 4.1148, 26.7856)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2390 #799023
analogous
#234290 #3A2390 #712390
triadic
#3A2390 #903A23 #23903A
tetradic
#3A2390 #902342 #799023 #239071
square
#3A2390 #902342 #799023 #239071
split-complementary
#3A2390 #907123 #429023
monochromatic
#120B2E #26175F #3A2390 #4E2FC1 #7257D6

Accessibility & contrast

On white

11.52
#3A2390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3A2390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2390
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2390#FFFFFF#000000##FFFFFF
##3A23901.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#064158
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3a2390;
/* rgb */ color: rgb(58, 35, 144);
/* oklch */ color: oklch(36.3% 0.167 284.0);
Tailwind
colors: {
  custom: {
    50: '#7b61b2',
    500: '#3a2390',
    950: '#000000',
  },
}
SCSS
$custom: #3a2390;
$custom-light: #7b61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2390",
  "rgb": {
    "r": 58,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 252.661,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36321,
    "c": 0.16709,
    "h": 284
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#3A2390
secondary
#A5BA54
accent
#E444C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #3A2390

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

Preview Lab → · Contrast checker → · Palette generator →

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