#35184C#35184C

#35184C is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.094 H 307.0°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#35184C
RGBrgb(53, 24, 76)
HSLhsl(273, 52%, 20%)
HSVhsv(273, 68%, 30%)
CMYKcmyk(30.3%, 68.4%, 0%, 70.2%)
CIE-LABlab(15.13, 25.57, -26.63)
CIE-LCHlch(15.13, 36.92, 313.84°)
OKLaboklab(27.94% 0.0567 -0.0752)
OKLCHoklch(27.94% 0.094 307)
XYZxyz(3.0991, 1.9320, 7.0457)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35184C #2F4C18
analogous
#1B184C #35184C #4C1849
triadic
#35184C #4C3518 #184C35
tetradic
#35184C #4C1B18 #2F4C18 #18494C
square
#35184C #4C1B18 #2F4C18 #18494C
split-complementary
#35184C #494C18 #184C1B
monochromatic
#100717 #15091D #35184C #55277B #7635A9

Accessibility & contrast

On white

15.15
#35184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#35184C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35184C
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35184C#FFFFFF#000000##FFFFFF
##35184C1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254E
Deuteranopia (green-blind)
#0E264B
Tritanopia (blue-blind)
#31222F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35184c;
/* rgb */ color: rgb(53, 24, 76);
/* oklch */ color: oklch(27.9% 0.094 307.0);
Tailwind
colors: {
  custom: {
    50: '#6e577e',
    500: '#35184c',
    950: '#000000',
  },
}
SCSS
$custom: #35184c;
$custom-light: #6e577e;
$custom-dark: #000000;
JSON
{
  "hex": "#35184c",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 273.462,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27935,
    "c": 0.09422,
    "h": 307
  },
  "luminance": 0.01932
}

Semantic roles & 50–950 ramp

primary
#35184C
secondary
#5C833D
accent
#DB4C8C
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35184C

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

Preview Lab → · Contrast checker → · Palette generator →

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