#351B7D#351B7D

#351B7D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.153 H 286.7°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#351B7D
RGBrgb(53, 27, 125)
HSLhsl(256, 64%, 30%)
HSVhsv(256, 78%, 49%)
CMYKcmyk(57.6%, 78.4%, 0%, 51%)
CIE-LABlab(20.13, 38.38, -50.81)
CIE-LCHlch(20.13, 63.67, 307.07°)
OKLaboklab(32.86% 0.044 -0.1462)
OKLCHoklch(32.86% 0.153 286.7)
XYZxyz(5.5607, 3.0211, 19.6882)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B7D #637D1B
analogous
#1B327D #351B7D #661B7D
triadic
#351B7D #7D351B #1B7D35
tetradic
#351B7D #7D1B32 #637D1B #1B7D66
square
#351B7D #7D1B32 #637D1B #1B7D66
split-complementary
#351B7D #7D661B #327D1B
monochromatic
#0B0519 #20104B #351B7D #4A26AF #663DD5

Accessibility & contrast

On white

13.09
#351B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B7D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B7D#FFFFFF#000000##FFFFFF
##351B7D1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#14374B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351b7d;
/* rgb */ color: rgb(53, 27, 125);
/* oklch */ color: oklch(32.9% 0.153 286.7);
Tailwind
colors: {
  custom: {
    50: '#755ba4',
    500: '#351b7d',
    950: '#000000',
  },
}
SCSS
$custom: #351b7d;
$custom-light: #755ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#351b7d",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 255.918,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.1527,
    "h": 286.7
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#351B7D
secondary
#94B143
accent
#E740BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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