#35123E#35123E

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

Color values

HEX#35123E
RGBrgb(53, 18, 62)
HSLhsl(288, 55%, 16%)
HSVhsv(288, 71%, 24%)
CMYKcmyk(14.5%, 71%, 0%, 75.7%)
CIE-LABlab(12.84, 25.43, -20.52)
CIE-LCHlch(12.84, 32.68, 321.10°)
OKLaboklab(25.96% 0.0657 -0.0573)
OKLCHoklch(25.96% 0.087 318.9)
XYZxyz(2.5539, 1.5374, 4.7187)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35123E #1B3E12
analogous
#1F123E #35123E #3E1231
triadic
#35123E #3E3512 #123E35
tetradic
#35123E #3E1F12 #1B3E12 #12313E
square
#35123E #3E1F12 #1B3E12 #12313E
split-complementary
#35123E #313E12 #123E1F
monochromatic
#140718 #140718 #35123E #5E206D #862E9D

Accessibility & contrast

On white

16.06
#35123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35123E
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35123E#FFFFFF#000000##FFFFFF
##35123E1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F3F
Deuteranopia (green-blind)
#15223D
Tritanopia (blue-blind)
#351926
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #35123e;
/* rgb */ color: rgb(53, 18, 62);
/* oklch */ color: oklch(26.0% 0.087 318.9);
Tailwind
colors: {
  custom: {
    50: '#6e5273',
    500: '#35123e',
    950: '#000000',
  },
}
SCSS
$custom: #35123e;
$custom-light: #6e5273;
$custom-dark: #000000;
JSON
{
  "hex": "#35123e",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 287.727,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25957,
    "c": 0.08717,
    "h": 318.9
  },
  "luminance": 0.01537
}

Semantic roles & 50–950 ramp

primary
#35123E
secondary
#427735
accent
#DE4968
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #35123E

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

Preview Lab → · Contrast checker → · Palette generator →

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