#35185F#35185F

#35185F is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.5% C 0.119 H 297.2°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#35185F
RGBrgb(53, 24, 95)
HSLhsl(265, 60%, 23%)
HSVhsv(265, 75%, 37%)
CMYKcmyk(44.2%, 74.7%, 0%, 62.7%)
CIE-LABlab(16.68, 30.99, -36.95)
CIE-LCHlch(16.68, 48.23, 309.99°)
OKLaboklab(29.54% 0.0543 -0.1056)
OKLCHoklch(29.54% 0.119 297.2)
XYZxyz(3.8599, 2.2363, 11.0525)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35185F #425F18
analogous
#181E5F #35185F #58185F
triadic
#35185F #5F3518 #185F35
tetradic
#35185F #5F181E #425F18 #185F58
square
#35185F #5F181E #425F18 #185F58
split-complementary
#35185F #5F5818 #1E5F18
monochromatic
#0E0618 #1A0C2E #35185F #502490 #6C31C1

Accessibility & contrast

On white

14.51
#35185F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#35185F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35185F
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35185F#FFFFFF#000000##FFFFFF
##35185F1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#2A2939
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #35185f;
/* rgb */ color: rgb(53, 24, 95);
/* oklch */ color: oklch(29.5% 0.119 297.2);
Tailwind
colors: {
  custom: {
    50: '#71578d',
    500: '#35185f',
    950: '#000000',
  },
}
SCSS
$custom: #35185f;
$custom-light: #71578d;
$custom-dark: #000000;
JSON
{
  "hex": "#35185f",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 95
  },
  "hsl": {
    "h": 264.507,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29544,
    "c": 0.11873,
    "h": 297.2
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#35185F
secondary
#71953D
accent
#E345A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35185F

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

Preview Lab → · Contrast checker → · Palette generator →

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