#351A5C#351A5C

#351A5C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.6% C 0.112 H 297.9°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#351A5C
RGBrgb(53, 26, 92)
HSLhsl(265, 56%, 23%)
HSVhsv(265, 72%, 36%)
CMYKcmyk(42.4%, 71.7%, 0%, 63.9%)
CIE-LABlab(16.84, 28.96, -34.70)
CIE-LCHlch(16.84, 45.20, 309.85°)
OKLaboklab(29.57% 0.0525 -0.099)
OKLCHoklch(29.57% 0.112 297.9)
XYZxyz(3.7689, 2.2683, 10.3624)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A5C #415C1A
analogous
#1A205C #351A5C #561A5C
triadic
#351A5C #5C351A #1A5C35
tetradic
#351A5C #5C1A20 #415C1A #1A5C56
square
#351A5C #5C1A20 #415C1A #1A5C56
split-complementary
#351A5C #5C561A #205C1A
monochromatic
#0E0718 #1A0D2C #351A5C #50278C #6C35BB

Accessibility & contrast

On white

14.45
#351A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#351A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A5C
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A5C#FFFFFF#000000##FFFFFF
##351A5C1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#2C2938
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351a5c;
/* rgb */ color: rgb(53, 26, 92);
/* oklch */ color: oklch(29.6% 0.112 297.9);
Tailwind
colors: {
  custom: {
    50: '#70588b',
    500: '#351a5c',
    950: '#000000',
  },
}
SCSS
$custom: #351a5c;
$custom-light: #70588b;
$custom-dark: #000000;
JSON
{
  "hex": "#351a5c",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 264.545,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29574,
    "c": 0.11202,
    "h": 297.9
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#351A5C
secondary
#709240
accent
#DF49A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351A5C

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

Preview Lab → · Contrast checker → · Palette generator →

#351A5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva