#35184B#35184B

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

Color values

HEX#35184B
RGBrgb(53, 24, 75)
HSLhsl(274, 52%, 19%)
HSVhsv(274, 68%, 29%)
CMYKcmyk(29.3%, 68%, 0%, 70.6%)
CIE-LABlab(15.05, 25.30, -26.06)
CIE-LCHlch(15.05, 36.32, 314.15°)
OKLaboklab(27.86% 0.0568 -0.0736)
OKLCHoklch(27.86% 0.093 307.6)
XYZxyz(3.0646, 1.9182, 6.8641)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35184B #2E4B18
analogous
#1C184B #35184B #4B1848
triadic
#35184B #4B3518 #184B35
tetradic
#35184B #4B1C18 #2E4B18 #18484B
square
#35184B #4B1C18 #2E4B18 #18484B
split-complementary
#35184B #484B18 #184B1C
monochromatic
#100717 #14091D #35184B #562779 #7736A8

Accessibility & contrast

On white

15.18
#35184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#35184B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35184B
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35184B#FFFFFF#000000##FFFFFF
##35184B1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254D
Deuteranopia (green-blind)
#0F264A
Tritanopia (blue-blind)
#32222E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35184b;
/* rgb */ color: rgb(53, 24, 75);
/* oklch */ color: oklch(27.9% 0.093 307.6);
Tailwind
colors: {
  custom: {
    50: '#6e577e',
    500: '#35184b',
    950: '#000000',
  },
}
SCSS
$custom: #35184b;
$custom-light: #6e577e;
$custom-dark: #000000;
JSON
{
  "hex": "#35184b",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 274.118,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27857,
    "c": 0.09291,
    "h": 307.6
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#35184B
secondary
#5B823D
accent
#DB4D8A
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35184B

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

Preview Lab → · Contrast checker → · Palette generator →

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