#35124C#35124C

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

Color values

HEX#35124C
RGBrgb(53, 18, 76)
HSLhsl(276, 62%, 18%)
HSVhsv(276, 76%, 30%)
CMYKcmyk(30.3%, 76.3%, 0%, 70.2%)
CIE-LABlab(13.89, 28.97, -28.62)
CIE-LCHlch(13.89, 40.72, 315.35°)
OKLaboklab(27.05% 0.0648 -0.081)
OKLCHoklch(27.05% 0.104 308.6)
XYZxyz(2.9887, 1.7113, 7.0090)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35124C #294C12
analogous
#18124C #35124C #4C1246
triadic
#35124C #4C3512 #124C35
tetradic
#35124C #4C1812 #294C12 #12464C
square
#35124C #4C1812 #294C12 #12464C
split-complementary
#35124C #464C12 #124C18
monochromatic
#110619 #12061B #35124C #581E7D #7A29AF

Accessibility & contrast

On white

15.65
#35124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35124C
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35124C#FFFFFF#000000##FFFFFF
##35124C1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#06244B
Tritanopia (blue-blind)
#321F2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #35124c;
/* rgb */ color: rgb(53, 18, 76);
/* oklch */ color: oklch(27.0% 0.104 308.6);
Tailwind
colors: {
  custom: {
    50: '#6f537e',
    500: '#35124c',
    950: '#000000',
  },
}
SCSS
$custom: #35124c;
$custom-light: #6f537e;
$custom-dark: #000000;
JSON
{
  "hex": "#35124c",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 276.207,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27047,
    "c": 0.10374,
    "h": 308.6
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#35124C
secondary
#558535
accent
#E54383
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #35124C

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

Preview Lab → · Contrast checker → · Palette generator →

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