#351A4E#351A4E

#351A4E is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.093 H 305.1°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#351A4E
RGBrgb(53, 26, 78)
HSLhsl(271, 50%, 20%)
HSVhsv(271, 67%, 31%)
CMYKcmyk(32.1%, 66.7%, 0%, 69.4%)
CIE-LABlab(15.73, 24.91, -27.04)
CIE-LCHlch(15.73, 36.76, 312.66°)
OKLaboklab(28.42% 0.0538 -0.0764)
OKLCHoklch(28.42% 0.093 305.1)
XYZxyz(3.2124, 2.0458, 7.4319)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A4E #334E1A
analogous
#1B1A4E #351A4E #4E1A4D
triadic
#351A4E #4E351A #1A4E35
tetradic
#351A4E #4E1B1A #334E1A #1A4D4E
square
#351A4E #4E1B1A #334E1A #1A4D4E
split-complementary
#351A4E #4D4E1A #1A4E1B
monochromatic
#100817 #160B20 #351A4E #54297C #7339AA

Accessibility & contrast

On white

14.90
#351A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#351A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A4E
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A4E#FFFFFF#000000##FFFFFF
##351A4E1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022650
Deuteranopia (green-blind)
#0F274D
Tritanopia (blue-blind)
#312531
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351a4e;
/* rgb */ color: rgb(53, 26, 78);
/* oklch */ color: oklch(28.4% 0.093 305.1);
Tailwind
colors: {
  custom: {
    50: '#6e5880',
    500: '#351a4e',
    950: '#000000',
  },
}
SCSS
$custom: #351a4e;
$custom-light: #6e5880;
$custom-dark: #000000;
JSON
{
  "hex": "#351a4e",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 271.154,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28418,
    "c": 0.09345,
    "h": 305.1
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#351A4E
secondary
#618440
accent
#DA4E91
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #351A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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