#3A0231#3A0231

#3A0231 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.102 H 336.1°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#3A0231
RGBrgb(58, 2, 49)
HSLhsl(310, 93%, 12%)
HSVhsv(310, 97%, 23%)
CMYKcmyk(0%, 96.6%, 15.5%, 77.3%)
CIE-LABlab(10.30, 31.72, -15.12)
CIE-LCHlch(10.30, 35.14, 334.51°)
OKLaboklab(24.04% 0.0933 -0.0413)
OKLCHoklch(24.04% 0.102 336.1)
XYZxyz(2.3211, 1.1649, 3.0078)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0231 #023A0B
analogous
#27023A #3A0231 #3A0215
triadic
#3A0231 #313A02 #02313A
tetradic
#3A0231 #3A2702 #023A0B #02153A
square
#3A0231 #3A2702 #023A0B #02153A
split-complementary
#3A0231 #153A02 #023A27
monochromatic
#1E0119 #1E0119 #3A0231 #750463 #B00695

Accessibility & contrast

On white

17.03
#3A0231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#3A0231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0231
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0231#FFFFFF#000000##FFFFFF
##3A02311.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031732
Deuteranopia (green-blind)
#181F30
Tritanopia (blue-blind)
#3E0619
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #3a0231;
/* rgb */ color: rgb(58, 2, 49);
/* oklch */ color: oklch(24.0% 0.102 336.1);
Tailwind
colors: {
  custom: {
    50: '#734b69',
    500: '#3a0231',
    950: '#000000',
  },
}
SCSS
$custom: #3a0231;
$custom-light: #734b69;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0231",
  "rgb": {
    "r": 58,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 309.643,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.24039,
    "c": 0.10209,
    "h": 336.1
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#3A0231
secondary
#1A7D2A
accent
#FF4B29
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3A0231

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

Preview Lab → · Contrast checker → · Palette generator →

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