#35124D#35124D

#35124D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.105 H 308.0°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#35124D
RGBrgb(53, 18, 77)
HSLhsl(276, 62%, 19%)
HSVhsv(276, 77%, 30%)
CMYKcmyk(31.2%, 76.6%, 0%, 69.8%)
CIE-LABlab(13.97, 29.23, -29.17)
CIE-LCHlch(13.97, 41.30, 315.06°)
OKLaboklab(27.13% 0.0646 -0.0827)
OKLCHoklch(27.13% 0.105 308)
XYZxyz(3.0238, 1.7254, 7.1935)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35124D #2A4D12
analogous
#17124D #35124D #4D1247
triadic
#35124D #4D3512 #124D35
tetradic
#35124D #4D1712 #2A4D12 #12474D
square
#35124D #4D1712 #2A4D12 #12474D
split-complementary
#35124D #474D12 #124D17
monochromatic
#110619 #13061B #35124D #571E7F #7929B0

Accessibility & contrast

On white

15.61
#35124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#35124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35124D
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35124D#FFFFFF#000000##FFFFFF
##35124D1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#04244C
Tritanopia (blue-blind)
#311F2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #35124d;
/* rgb */ color: rgb(53, 18, 77);
/* oklch */ color: oklch(27.1% 0.105 308.0);
Tailwind
colors: {
  custom: {
    50: '#6f537f',
    500: '#35124d',
    950: '#000000',
  },
}
SCSS
$custom: #35124d;
$custom-light: #6f537f;
$custom-dark: #000000;
JSON
{
  "hex": "#35124d",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 275.593,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27131,
    "c": 0.10494,
    "h": 308
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#35124D
secondary
#568635
accent
#E54385
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #35124D

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

Preview Lab → · Contrast checker → · Palette generator →

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