#35185B#35185B

#35185B is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.114 H 299.0°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#35185B
RGBrgb(53, 24, 91)
HSLhsl(266, 58%, 23%)
HSVhsv(266, 74%, 36%)
CMYKcmyk(41.8%, 73.6%, 0%, 64.3%)
CIE-LABlab(16.33, 29.83, -34.85)
CIE-LCHlch(16.33, 45.87, 310.56°)
OKLaboklab(29.19% 0.0551 -0.0994)
OKLCHoklch(29.19% 0.114 299)
XYZxyz(3.6827, 2.1654, 10.1194)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35185B #3E5B18
analogous
#181D5B #35185B #56185B
triadic
#35185B #5B3518 #185B35
tetradic
#35185B #5B181D #3E5B18 #185B56
square
#35185B #5B181D #3E5B18 #185B56
split-complementary
#35185B #5B5618 #1D5B18
monochromatic
#0E0618 #190B2B #35185B #51258B #6D32BC

Accessibility & contrast

On white

14.65
#35185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#35185B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35185B
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35185B#FFFFFF#000000##FFFFFF
##35185B1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#2C2837
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35185b;
/* rgb */ color: rgb(53, 24, 91);
/* oklch */ color: oklch(29.2% 0.114 299.0);
Tailwind
colors: {
  custom: {
    50: '#70578a',
    500: '#35185b',
    950: '#000000',
  },
}
SCSS
$custom: #35185b;
$custom-light: #70578a;
$custom-dark: #000000;
JSON
{
  "hex": "#35185b",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 265.97,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29186,
    "c": 0.11363,
    "h": 299
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#35185B
secondary
#6D923D
accent
#E1469E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35185B

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

Preview Lab → · Contrast checker → · Palette generator →

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