#35185C#35185C

#35185C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.115 H 298.5°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#35185C
RGBrgb(53, 24, 92)
HSLhsl(266, 59%, 23%)
HSVhsv(266, 74%, 36%)
CMYKcmyk(42.4%, 73.9%, 0%, 63.9%)
CIE-LABlab(16.42, 30.12, -35.38)
CIE-LCHlch(16.42, 46.46, 310.41°)
OKLaboklab(29.27% 0.0549 -0.1009)
OKLCHoklch(29.27% 0.115 298.5)
XYZxyz(3.7261, 2.1828, 10.3482)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35185C #3F5C18
analogous
#181D5C #35185C #57185C
triadic
#35185C #5C3518 #185C35
tetradic
#35185C #5C181D #3F5C18 #185C57
square
#35185C #5C181D #3F5C18 #185C57
split-complementary
#35185C #5C5718 #1D5C18
monochromatic
#0E0618 #190B2B #35185C #51258D #6D31BD

Accessibility & contrast

On white

14.62
#35185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35185C
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35185C#FFFFFF#000000##FFFFFF
##35185C1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#2C2838
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #35185c;
/* rgb */ color: rgb(53, 24, 92);
/* oklch */ color: oklch(29.3% 0.115 298.5);
Tailwind
colors: {
  custom: {
    50: '#70578b',
    500: '#35185c',
    950: '#000000',
  },
}
SCSS
$custom: #35185c;
$custom-light: #70578b;
$custom-dark: #000000;
JSON
{
  "hex": "#35185c",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 265.588,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29274,
    "c": 0.1149,
    "h": 298.5
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#35185C
secondary
#6E933D
accent
#E2469F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35185C

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

Preview Lab → · Contrast checker → · Palette generator →

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