#3A2385#3A2385

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

Color values

HEX#3A2385
RGBrgb(58, 35, 133)
HSLhsl(254, 58%, 33%)
HSVhsv(254, 74%, 52%)
CMYKcmyk(56.4%, 73.7%, 0%, 47.8%)
CIE-LABlab(22.98, 37.27, -51.16)
CIE-LCHlch(22.98, 63.29, 306.07°)
OKLaboklab(35.24% 0.0431 -0.1471)
OKLCHoklch(35.24% 0.153 286.3)
XYZxyz(6.5783, 3.7947, 22.5716)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2385 #6E8523
analogous
#233D85 #3A2385 #6B2385
triadic
#3A2385 #853A23 #23853A
tetradic
#3A2385 #85233D #6E8523 #23856B
square
#3A2385 #85233D #6E8523 #23856B
split-complementary
#3A2385 #856B23 #3D8523
monochromatic
#100924 #251655 #3A2385 #4F30B5 #6F51D1

Accessibility & contrast

On white

11.94
#3A2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3A2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2385
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2385#FFFFFF#000000##FFFFFF
##3A23851.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#193D51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3a2385;
/* rgb */ color: rgb(58, 35, 133);
/* oklch */ color: oklch(35.2% 0.153 286.3);
Tailwind
colors: {
  custom: {
    50: '#7960a9',
    500: '#3a2385',
    950: '#000000',
  },
}
SCSS
$custom: #3a2385;
$custom-light: #7960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2385",
  "rgb": {
    "r": 58,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 254.082,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35241,
    "c": 0.15333,
    "h": 286.3
  },
  "luminance": 0.03795
}

Semantic roles & 50–950 ramp

primary
#3A2385
secondary
#9DB54F
accent
#E246BD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3A2385

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

Preview Lab → · Contrast checker → · Palette generator →

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