#351B7E#351B7E

#351B7E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.154 H 286.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#351B7E
RGBrgb(53, 27, 126)
HSLhsl(256, 65%, 30%)
HSVhsv(256, 79%, 49%)
CMYKcmyk(57.9%, 78.6%, 0%, 50.6%)
CIE-LABlab(20.23, 38.68, -51.27)
CIE-LCHlch(20.23, 64.23, 307.03°)
OKLaboklab(32.96% 0.0437 -0.1476)
OKLCHoklch(32.96% 0.154 286.5)
XYZxyz(5.6249, 3.0468, 20.0263)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B7E #647E1B
analogous
#1B327E #351B7E #671B7E
triadic
#351B7E #7E351B #1B7E35
tetradic
#351B7E #7E1B32 #647E1B #1B7E67
square
#351B7E #7E1B32 #647E1B #1B7E67
split-complementary
#351B7E #7E671B #327E1B
monochromatic
#0B0519 #20104C #351B7E #4A26B0 #663ED6

Accessibility & contrast

On white

13.05
#351B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#351B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B7E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B7E#FFFFFF#000000##FFFFFF
##351B7E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#13374B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351b7e;
/* rgb */ color: rgb(53, 27, 126);
/* oklch */ color: oklch(33.0% 0.154 286.5);
Tailwind
colors: {
  custom: {
    50: '#765ba4',
    500: '#351b7e',
    950: '#000000',
  },
}
SCSS
$custom: #351b7e;
$custom-light: #765ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#351b7e",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 255.758,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.32964,
    "c": 0.15393,
    "h": 286.5
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#351B7E
secondary
#95B243
accent
#E840BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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