#35123F#35123F

#35123F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.088 H 318.0°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#35123F
RGBrgb(53, 18, 63)
HSLhsl(287, 56%, 16%)
HSVhsv(287, 71%, 25%)
CMYKcmyk(15.9%, 71.4%, 0%, 75.3%)
CIE-LABlab(12.91, 25.67, -21.12)
CIE-LCHlch(12.91, 33.24, 320.56°)
OKLaboklab(26.03% 0.0657 -0.0591)
OKLCHoklch(26.03% 0.088 318)
XYZxyz(2.5816, 1.5485, 4.8646)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35123F #1C3F12
analogous
#1E123F #35123F #3F1232
triadic
#35123F #3F3512 #123F35
tetradic
#35123F #3F1E12 #1C3F12 #12323F
square
#35123F #3F1E12 #1C3F12 #12323F
split-complementary
#35123F #323F12 #123F1E
monochromatic
#140718 #140718 #35123F #5D206F #852D9E

Accessibility & contrast

On white

16.04
#35123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#35123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35123F
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35123F#FFFFFF#000000##FFFFFF
##35123F1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051F40
Deuteranopia (green-blind)
#14223E
Tritanopia (blue-blind)
#351A26
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #35123f;
/* rgb */ color: rgb(53, 18, 63);
/* oklch */ color: oklch(26.0% 0.088 318.0);
Tailwind
colors: {
  custom: {
    50: '#6e5274',
    500: '#35123f',
    950: '#000000',
  },
}
SCSS
$custom: #35123f;
$custom-light: #6e5274;
$custom-dark: #000000;
JSON
{
  "hex": "#35123f",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 286.667,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26029,
    "c": 0.08834,
    "h": 318
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#35123F
secondary
#447835
accent
#DF496A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #35123F

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

Preview Lab → · Contrast checker → · Palette generator →

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