#35175E#35175E

#35175E is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.119 H 297.9°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#35175E
RGBrgb(53, 23, 94)
HSLhsl(265, 61%, 23%)
HSVhsv(265, 76%, 37%)
CMYKcmyk(43.6%, 75.5%, 0%, 63.1%)
CIE-LABlab(16.39, 31.26, -36.75)
CIE-LCHlch(16.39, 48.25, 310.38°)
OKLaboklab(29.31% 0.0557 -0.105)
OKLCHoklch(29.31% 0.119 297.9)
XYZxyz(3.7945, 2.1778, 10.8079)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35175E #405E17
analogous
#171C5E #35175E #58175E
triadic
#35175E #5E3517 #175E35
tetradic
#35175E #5E171C #405E17 #175E58
square
#35175E #5E171C #405E17 #175E58
split-complementary
#35175E #5E5817 #1C5E17
monochromatic
#0E0619 #190B2D #35175E #51238F #6C2FC0

Accessibility & contrast

On white

14.63
#35175E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#35175E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35175E
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35175E#FFFFFF#000000##FFFFFF
##35175E1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#2B2938
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #35175e;
/* rgb */ color: rgb(53, 23, 94);
/* oklch */ color: oklch(29.3% 0.119 297.9);
Tailwind
colors: {
  custom: {
    50: '#71578c',
    500: '#35175e',
    950: '#000000',
  },
}
SCSS
$custom: #35175e;
$custom-light: #71578c;
$custom-dark: #000000;
JSON
{
  "hex": "#35175e",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 94
  },
  "hsl": {
    "h": 265.352,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29311,
    "c": 0.11882,
    "h": 297.9
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#35175E
secondary
#6F953C
accent
#E444A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35175E

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

Preview Lab → · Contrast checker → · Palette generator →

#35175E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva