#35123A#35123A

#35123A is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.083 H 322.5°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#35123A
RGBrgb(53, 18, 58)
HSLhsl(293, 53%, 15%)
HSVhsv(293, 69%, 23%)
CMYKcmyk(8.6%, 69%, 0%, 77.3%)
CIE-LABlab(12.58, 24.49, -18.10)
CIE-LCHlch(12.58, 30.45, 323.53°)
OKLaboklab(25.68% 0.0655 -0.0503)
OKLCHoklch(25.68% 0.083 322.5)
XYZxyz(2.4481, 1.4951, 4.1618)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35123A #173A12
analogous
#21123A #35123A #3A122B
triadic
#35123A #3A3512 #123A35
tetradic
#35123A #3A2112 #173A12 #122B3A
square
#35123A #3A2112 #173A12 #122B3A
split-complementary
#35123A #2B3A12 #123A21
monochromatic
#150717 #150717 #35123A #602069 #8A2F97

Accessibility & contrast

On white

16.17
#35123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#35123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35123A
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35123A#FFFFFF#000000##FFFFFF
##35123A1.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1E3B
Deuteranopia (green-blind)
#172239
Tritanopia (blue-blind)
#361823
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #35123a;
/* rgb */ color: rgb(53, 18, 58);
/* oklch */ color: oklch(25.7% 0.083 322.5);
Tailwind
colors: {
  custom: {
    50: '#6e5270',
    500: '#35123a',
    950: '#000000',
  },
}
SCSS
$custom: #35123a;
$custom-light: #6e5270;
$custom-dark: #000000;
JSON
{
  "hex": "#35123a",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 292.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25676,
    "c": 0.08258,
    "h": 322.5
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#35123A
secondary
#3D7335
accent
#DC4C5E
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #35123A

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

Preview Lab → · Contrast checker → · Palette generator →

#35123A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva