#3B123E#3B123E

#3B123E is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.091 H 324.9°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#3B123E
RGBrgb(59, 18, 62)
HSLhsl(296, 55%, 16%)
HSVhsv(296, 71%, 24%)
CMYKcmyk(4.8%, 71%, 0%, 75.7%)
CIE-LABlab(13.89, 27.22, -18.80)
CIE-LCHlch(13.89, 33.08, 325.37°)
OKLaboklab(26.93% 0.0743 -0.0521)
OKLCHoklch(26.93% 0.091 324.9)
XYZxyz(2.8894, 1.7104, 4.7344)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B123E #153E12
analogous
#25123E #3B123E #3E122B
triadic
#3B123E #3E3B12 #123E3B
tetradic
#3B123E #3E2512 #153E12 #122B3E
square
#3B123E #3E2512 #153E12 #122B3E
split-complementary
#3B123E #2B3E12 #123E25
monochromatic
#170718 #170718 #3B123E #68206D #952E9D

Accessibility & contrast

On white

15.65
#3B123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3B123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B123E
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B123E#FFFFFF#000000##FFFFFF
##3B123E1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A203F
Deuteranopia (green-blind)
#1A253D
Tritanopia (blue-blind)
#3C1826
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3b123e;
/* rgb */ color: rgb(59, 18, 62);
/* oklch */ color: oklch(26.9% 0.091 324.9);
Tailwind
colors: {
  custom: {
    50: '#735373',
    500: '#3b123e',
    950: '#000000',
  },
}
SCSS
$custom: #3b123e;
$custom-light: #735373;
$custom-dark: #000000;
JSON
{
  "hex": "#3b123e",
  "rgb": {
    "r": 59,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 295.909,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26927,
    "c": 0.09071,
    "h": 324.9
  },
  "luminance": 0.0171
}

Semantic roles & 50–950 ramp

primary
#3B123E
secondary
#397735
accent
#DE4954
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B123E

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

Preview Lab → · Contrast checker → · Palette generator →

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