#35185E#35185E

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

Color values

HEX#35185E
RGBrgb(53, 24, 94)
HSLhsl(265, 59%, 23%)
HSVhsv(265, 74%, 37%)
CMYKcmyk(43.6%, 74.5%, 0%, 63.1%)
CIE-LABlab(16.59, 30.70, -36.43)
CIE-LCHlch(16.59, 47.64, 310.13°)
OKLaboklab(29.45% 0.0545 -0.104)
OKLCHoklch(29.45% 0.117 297.7)
XYZxyz(3.8147, 2.2182, 10.8147)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35185E #415E18
analogous
#181E5E #35185E #58185E
triadic
#35185E #5E3518 #185E35
tetradic
#35185E #5E181E #415E18 #185E58
square
#35185E #5E181E #415E18 #185E58
split-complementary
#35185E #5E5818 #1E5E18
monochromatic
#0E0618 #1A0C2D #35185E #50248F #6C31C0

Accessibility & contrast

On white

14.55
#35185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35185E
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35185E#FFFFFF#000000##FFFFFF
##35185E1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35185e;
/* rgb */ color: rgb(53, 24, 94);
/* oklch */ color: oklch(29.5% 0.117 297.7);
Tailwind
colors: {
  custom: {
    50: '#71578c',
    500: '#35185e',
    950: '#000000',
  },
}
SCSS
$custom: #35185e;
$custom-light: #71578c;
$custom-dark: #000000;
JSON
{
  "hex": "#35185e",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 264.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29454,
    "c": 0.11745,
    "h": 297.7
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#35185E
secondary
#70943D
accent
#E345A1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35185E

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

Preview Lab → · Contrast checker → · Palette generator →

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