#351B7C#351B7C

#351B7C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.151 H 287.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#351B7C
RGBrgb(53, 27, 124)
HSLhsl(256, 64%, 30%)
HSVhsv(256, 78%, 49%)
CMYKcmyk(57.3%, 78.2%, 0%, 51.4%)
CIE-LABlab(20.03, 38.07, -50.34)
CIE-LCHlch(20.03, 63.11, 307.10°)
OKLaboklab(32.76% 0.0443 -0.1449)
OKLCHoklch(32.76% 0.151 287)
XYZxyz(5.4971, 2.9957, 19.3534)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B7C #627C1B
analogous
#1B327C #351B7C #651B7C
triadic
#351B7C #7C351B #1B7C35
tetradic
#351B7C #7C1B32 #627C1B #1B7C65
square
#351B7C #7C1B32 #627C1B #1B7C65
split-complementary
#351B7C #7C651B #327C1B
monochromatic
#0B0519 #20104A #351B7C #4A26AE #653DD5

Accessibility & contrast

On white

13.13
#351B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351B7C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B7C#FFFFFF#000000##FFFFFF
##351B7C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#16364A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351b7c;
/* rgb */ color: rgb(53, 27, 124);
/* oklch */ color: oklch(32.8% 0.151 287.0);
Tailwind
colors: {
  custom: {
    50: '#755ba3',
    500: '#351b7c',
    950: '#000000',
  },
}
SCSS
$custom: #351b7c;
$custom-light: #755ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#351b7c",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 256.082,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32759,
    "c": 0.15147,
    "h": 287
  },
  "luminance": 0.02996
}

Semantic roles & 50–950 ramp

primary
#351B7C
secondary
#93B043
accent
#E741BB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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