#351358#351358

#351358 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.117 H 301.7°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#351358
RGBrgb(53, 19, 88)
HSLhsl(270, 64%, 21%)
HSVhsv(270, 78%, 35%)
CMYKcmyk(39.8%, 78.4%, 0%, 65.5%)
CIE-LABlab(15.10, 31.69, -34.84)
CIE-LCHlch(15.10, 47.09, 312.29°)
OKLaboklab(28.23% 0.0614 -0.0993)
OKLCHoklch(28.23% 0.117 301.7)
XYZxyz(3.4621, 1.9272, 9.4202)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351358 #365813
analogous
#131358 #351358 #571358
triadic
#351358 #583513 #135835
tetradic
#351358 #581313 #365813 #135857
square
#351358 #581313 #365813 #135857
split-complementary
#351358 #585713 #135813
monochromatic
#0F0519 #170826 #351358 #531E8A #7229BD

Accessibility & contrast

On white

15.16
#351358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#351358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351358
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351358#FFFFFF#000000##FFFFFF
##3513581.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#2D2434
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351358;
/* rgb */ color: rgb(53, 19, 88);
/* oklch */ color: oklch(28.2% 0.117 301.7);
Tailwind
colors: {
  custom: {
    50: '#705488',
    500: '#351358',
    950: '#000000',
  },
}
SCSS
$custom: #351358;
$custom-light: #705488;
$custom-dark: #000000;
JSON
{
  "hex": "#351358",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 269.565,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28227,
    "c": 0.11676,
    "h": 301.7
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#351358
secondary
#649037
accent
#E74095
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351358

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

Preview Lab → · Contrast checker → · Palette generator →

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