#3B023B#3B023B

#3B023B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.111 H 328.3°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#3B023B
RGBrgb(59, 2, 59)
HSLhsl(300, 93%, 12%)
HSVhsv(300, 97%, 23%)
CMYKcmyk(0%, 96.6%, 0%, 76.9%)
CIE-LABlab(11.20, 33.70, -20.94)
CIE-LCHlch(11.20, 39.67, 328.15°)
OKLaboklab(24.94% 0.0942 -0.0582)
OKLCHoklch(24.94% 0.111 328.3)
XYZxyz(2.6147, 1.2892, 4.2480)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B023B #023B02
analogous
#1F023B #3B023B #3B021F
triadic
#3B023B #3B3B02 #023B3B
tetradic
#3B023B #3B1F02 #023B02 #021F3B
square
#3B023B #3B1F02 #023B02 #021F3B
split-complementary
#3B023B #1F3B02 #023B1F
monochromatic
#1E011E #1E011E #3B023B #760476 #B106B1

Accessibility & contrast

On white

16.70
#3B023B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#3B023B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B023B
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B023B#FFFFFF#000000##FFFFFF
##3B023B1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#13203A
Tritanopia (blue-blind)
#3D0C1F
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3b023b;
/* rgb */ color: rgb(59, 2, 59);
/* oklch */ color: oklch(24.9% 0.111 328.3);
Tailwind
colors: {
  custom: {
    50: '#744c71',
    500: '#3b023b',
    950: '#000000',
  },
}
SCSS
$custom: #3b023b;
$custom-light: #744c71;
$custom-dark: #000000;
JSON
{
  "hex": "#3b023b",
  "rgb": {
    "r": 59,
    "g": 2,
    "b": 59
  },
  "hsl": {
    "h": 300,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24939,
    "c": 0.11068,
    "h": 328.3
  },
  "luminance": 0.01289
}

Semantic roles & 50–950 ramp

primary
#3B023B
secondary
#1A7E1A
accent
#FF2929
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3B023B

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

Preview Lab → · Contrast checker → · Palette generator →

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