#35185D#35185D

#35185D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.116 H 298.1°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#35185D
RGBrgb(53, 24, 93)
HSLhsl(265, 59%, 23%)
HSVhsv(265, 74%, 36%)
CMYKcmyk(43%, 74.2%, 0%, 63.5%)
CIE-LABlab(16.51, 30.41, -35.90)
CIE-LCHlch(16.51, 47.05, 310.26°)
OKLaboklab(29.36% 0.0547 -0.1025)
OKLCHoklch(29.36% 0.116 298.1)
XYZxyz(3.7701, 2.2004, 10.5799)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35185D #405D18
analogous
#181E5D #35185D #57185D
triadic
#35185D #5D3518 #185D35
tetradic
#35185D #5D181E #405D18 #185D57
square
#35185D #5D181E #405D18 #185D57
split-complementary
#35185D #5D5718 #1E5D18
monochromatic
#0E0618 #190B2C #35185D #51258E #6C31BE

Accessibility & contrast

On white

14.58
#35185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#35185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35185D
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35185D#FFFFFF#000000##FFFFFF
##35185D1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#2B2938
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #35185d;
/* rgb */ color: rgb(53, 24, 93);
/* oklch */ color: oklch(29.4% 0.116 298.1);
Tailwind
colors: {
  custom: {
    50: '#70578b',
    500: '#35185d',
    950: '#000000',
  },
}
SCSS
$custom: #35185d;
$custom-light: #70578b;
$custom-dark: #000000;
JSON
{
  "hex": "#35185d",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 265.217,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29364,
    "c": 0.11618,
    "h": 298.1
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#35185D
secondary
#6F933D
accent
#E246A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35185D

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

Preview Lab → · Contrast checker → · Palette generator →

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