#351D7C#351D7C

#351D7C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.149 H 286.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#351D7C
RGBrgb(53, 29, 124)
HSLhsl(255, 62%, 30%)
HSVhsv(255, 77%, 49%)
CMYKcmyk(57.3%, 76.6%, 0%, 51.4%)
CIE-LABlab(20.40, 37.01, -49.72)
CIE-LCHlch(20.40, 61.98, 306.66°)
OKLaboklab(33.02% 0.0426 -0.1431)
OKLCHoklch(33.02% 0.149 286.6)
XYZxyz(5.5446, 3.0905, 19.3692)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D7C #647C1D
analogous
#1D347C #351D7C #651D7C
triadic
#351D7C #7C351D #1D7C35
tetradic
#351D7C #7C1D34 #647C1D #1D7C65
square
#351D7C #7C1D34 #647C1D #1D7C65
split-complementary
#351D7C #7C651D #347C1D
monochromatic
#0B0619 #20114A #351D7C #4A29AE #6641D3

Accessibility & contrast

On white

12.98
#351D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#351D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D7C
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D7C#FFFFFF#000000##FFFFFF
##351D7C1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#15374B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351d7c;
/* rgb */ color: rgb(53, 29, 124);
/* oklch */ color: oklch(33.0% 0.149 286.6);
Tailwind
colors: {
  custom: {
    50: '#755ca3',
    500: '#351d7c',
    950: '#000000',
  },
}
SCSS
$custom: #351d7c;
$custom-light: #755ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#351d7c",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 255.158,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.33024,
    "c": 0.14928,
    "h": 286.6
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#351D7C
secondary
#95B045
accent
#E543BC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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