#351A52#351A52

#351A52 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.099 H 302.8°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#351A52
RGBrgb(53, 26, 82)
HSLhsl(269, 52%, 21%)
HSVhsv(269, 68%, 32%)
CMYKcmyk(35.4%, 68.3%, 0%, 67.8%)
CIE-LABlab(16.03, 26.05, -29.27)
CIE-LCHlch(16.03, 39.18, 311.66°)
OKLaboklab(28.73% 0.0536 -0.083)
OKLCHoklch(28.73% 0.099 302.8)
XYZxyz(3.3602, 2.1049, 8.2103)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A52 #37521A
analogous
#1A1B52 #351A52 #511A52
triadic
#351A52 #52351A #1A5235
tetradic
#351A52 #521A1B #37521A #1A5251
square
#351A52 #521A1B #37521A #1A5251
split-complementary
#351A52 #52511A #1B521A
monochromatic
#0F0717 #170B24 #351A52 #532980 #7137AF

Accessibility & contrast

On white

14.78
#351A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#351A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A52
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A52#FFFFFF#000000##FFFFFF
##351A521.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#092851
Tritanopia (blue-blind)
#2F2633
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351a52;
/* rgb */ color: rgb(53, 26, 82);
/* oklch */ color: oklch(28.7% 0.099 302.8);
Tailwind
colors: {
  custom: {
    50: '#6f5883',
    500: '#351a52',
    950: '#000000',
  },
}
SCSS
$custom: #351a52;
$custom-light: #6f5883;
$custom-dark: #000000;
JSON
{
  "hex": "#351a52",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 82
  },
  "hsl": {
    "h": 268.929,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28734,
    "c": 0.09879,
    "h": 302.8
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#351A52
secondary
#658840
accent
#DB4C96
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030A
muted
#7A787C

Preview Lab

Preview with #351A52

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

Preview Lab → · Contrast checker → · Palette generator →

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