#35124A#35124A

#35124A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.101 H 309.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#35124A
RGBrgb(53, 18, 74)
HSLhsl(278, 61%, 18%)
HSVhsv(278, 76%, 29%)
CMYKcmyk(28.4%, 75.7%, 0%, 71%)
CIE-LABlab(13.73, 28.44, -27.49)
CIE-LCHlch(13.73, 39.56, 315.97°)
OKLaboklab(26.88% 0.065 -0.0777)
OKLCHoklch(26.88% 0.101 309.9)
XYZxyz(2.9203, 1.6840, 6.6484)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35124A #274A12
analogous
#19124A #35124A #4A1243
triadic
#35124A #4A3512 #124A35
tetradic
#35124A #4A1912 #274A12 #12434A
square
#35124A #4A1912 #274A12 #12434A
split-complementary
#35124A #434A12 #124A19
monochromatic
#120619 #120619 #35124A #581E7B #7C2AAC

Accessibility & contrast

On white

15.71
#35124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#35124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35124A
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35124A#FFFFFF#000000##FFFFFF
##35124A1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#092449
Tritanopia (blue-blind)
#321E2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #35124a;
/* rgb */ color: rgb(53, 18, 74);
/* oklch */ color: oklch(26.9% 0.101 309.9);
Tailwind
colors: {
  custom: {
    50: '#6f537d',
    500: '#35124a',
    950: '#000000',
  },
}
SCSS
$custom: #35124a;
$custom-light: #6f537d;
$custom-dark: #000000;
JSON
{
  "hex": "#35124a",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 277.5,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26882,
    "c": 0.10136,
    "h": 309.9
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#35124A
secondary
#528335
accent
#E44480
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #35124A

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

Preview Lab → · Contrast checker → · Palette generator →

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