#351458#351458

#351458 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.115 H 301.5°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#351458
RGBrgb(53, 20, 88)
HSLhsl(269, 63%, 21%)
HSVhsv(269, 77%, 35%)
CMYKcmyk(39.8%, 77.3%, 0%, 65.5%)
CIE-LABlab(15.29, 31.17, -34.53)
CIE-LCHlch(15.29, 46.52, 312.07°)
OKLaboklab(28.36% 0.0603 -0.0984)
OKLCHoklch(28.36% 0.115 301.5)
XYZxyz(3.4794, 1.9618, 9.4260)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351458 #375814
analogous
#141558 #351458 #571458
triadic
#351458 #583514 #145835
tetradic
#351458 #581415 #375814 #145857
square
#351458 #581415 #375814 #145857
split-complementary
#351458 #585714 #155814
monochromatic
#0F0619 #170926 #351458 #531F8A #712BBC

Accessibility & contrast

On white

15.08
#351458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351458
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351458#FFFFFF#000000##FFFFFF
##3514581.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351458;
/* rgb */ color: rgb(53, 20, 88);
/* oklch */ color: oklch(28.4% 0.115 301.5);
Tailwind
colors: {
  custom: {
    50: '#705588',
    500: '#351458',
    950: '#000000',
  },
}
SCSS
$custom: #351458;
$custom-light: #705588;
$custom-dark: #000000;
JSON
{
  "hex": "#351458",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 269.118,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28358,
    "c": 0.11543,
    "h": 301.5
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#351458
secondary
#659038
accent
#E64296
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351458

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

Preview Lab → · Contrast checker → · Palette generator →

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