#351558#351558

#351558 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.5% C 0.114 H 301.2°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#351558
RGBrgb(53, 21, 88)
HSLhsl(269, 61%, 21%)
HSVhsv(269, 76%, 35%)
CMYKcmyk(39.8%, 76.1%, 0%, 65.5%)
CIE-LABlab(15.48, 30.63, -34.23)
CIE-LCHlch(15.48, 45.93, 311.83°)
OKLaboklab(28.49% 0.0591 -0.0975)
OKLCHoklch(28.49% 0.114 301.2)
XYZxyz(3.4974, 1.9978, 9.4320)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351558 #385815
analogous
#151758 #351558 #571558
triadic
#351558 #583515 #155835
tetradic
#351558 #581517 #385815 #155857
square
#351558 #581517 #385815 #155857
split-complementary
#351558 #585715 #175815
monochromatic
#0F0619 #170927 #351558 #532189 #712DBB

Accessibility & contrast

On white

15.00
#351558 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#351558 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351558
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351558#FFFFFF#000000##FFFFFF
##3515581.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#2D2535
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351558;
/* rgb */ color: rgb(53, 21, 88);
/* oklch */ color: oklch(28.5% 0.114 301.2);
Tailwind
colors: {
  custom: {
    50: '#705588',
    500: '#351558',
    950: '#000000',
  },
}
SCSS
$custom: #351558;
$custom-light: #705588;
$custom-dark: #000000;
JSON
{
  "hex": "#351558",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 88
  },
  "hsl": {
    "h": 268.657,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28493,
    "c": 0.11406,
    "h": 301.2
  },
  "luminance": 0.01998
}

Semantic roles & 50–950 ramp

primary
#351558
secondary
#669039
accent
#E54398
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351558

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

Preview Lab → · Contrast checker → · Palette generator →

#351558 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva