#35123C#35123C

#35123C is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.085 H 320.6°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#35123C
RGBrgb(53, 18, 60)
HSLhsl(290, 54%, 15%)
HSVhsv(290, 70%, 24%)
CMYKcmyk(11.7%, 70%, 0%, 76.5%)
CIE-LABlab(12.71, 24.95, -19.32)
CIE-LCHlch(12.71, 31.56, 322.26°)
OKLaboklab(25.82% 0.0656 -0.0538)
OKLCHoklch(25.82% 0.085 320.6)
XYZxyz(2.5000, 1.5159, 4.4350)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35123C #193C12
analogous
#20123C #35123C #3C122E
triadic
#35123C #3C3512 #123C35
tetradic
#35123C #3C2012 #193C12 #122E3C
square
#35123C #3C2012 #193C12 #122E3C
split-complementary
#35123C #2E3C12 #123C20
monochromatic
#150718 #150718 #35123C #5F206B #882E9A

Accessibility & contrast

On white

16.11
#35123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35123C
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35123C#FFFFFF#000000##FFFFFF
##35123C1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081E3D
Deuteranopia (green-blind)
#16223B
Tritanopia (blue-blind)
#351925
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #35123c;
/* rgb */ color: rgb(53, 18, 60);
/* oklch */ color: oklch(25.8% 0.085 320.6);
Tailwind
colors: {
  custom: {
    50: '#6e5272',
    500: '#35123c',
    950: '#000000',
  },
}
SCSS
$custom: #35123c;
$custom-light: #6e5272;
$custom-dark: #000000;
JSON
{
  "hex": "#35123c",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 290,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25815,
    "c": 0.08486,
    "h": 320.6
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#35123C
secondary
#407535
accent
#DD4B63
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #35123C

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

Preview Lab → · Contrast checker → · Palette generator →

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