#35124B#35124B

#35124B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.103 H 309.3°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#35124B
RGBrgb(53, 18, 75)
HSLhsl(277, 61%, 18%)
HSVhsv(277, 76%, 29%)
CMYKcmyk(29.3%, 76%, 0%, 70.6%)
CIE-LABlab(13.81, 28.70, -28.05)
CIE-LCHlch(13.81, 40.14, 315.66°)
OKLaboklab(26.96% 0.0649 -0.0794)
OKLCHoklch(26.96% 0.103 309.3)
XYZxyz(2.9543, 1.6976, 6.8273)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35124B #284B12
analogous
#18124B #35124B #4B1244
triadic
#35124B #4B3512 #124B35
tetradic
#35124B #4B1812 #284B12 #12444B
square
#35124B #4B1812 #284B12 #12444B
split-complementary
#35124B #444B12 #124B18
monochromatic
#110619 #12061A #35124B #581E7C #7B2AAE

Accessibility & contrast

On white

15.68
#35124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35124B
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35124B#FFFFFF#000000##FFFFFF
##35124B1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#07244A
Tritanopia (blue-blind)
#321E2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #35124b;
/* rgb */ color: rgb(53, 18, 75);
/* oklch */ color: oklch(27.0% 0.103 309.3);
Tailwind
colors: {
  custom: {
    50: '#6f537e',
    500: '#35124b',
    950: '#000000',
  },
}
SCSS
$custom: #35124b;
$custom-light: #6f537e;
$custom-dark: #000000;
JSON
{
  "hex": "#35124b",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 276.842,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26964,
    "c": 0.10255,
    "h": 309.3
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#35124B
secondary
#538435
accent
#E44382
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #35124B

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

Preview Lab → · Contrast checker → · Palette generator →

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