#351E7D#351E7D

#351E7D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.149 H 286.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#351E7D
RGBrgb(53, 30, 125)
HSLhsl(255, 61%, 30%)
HSVhsv(255, 76%, 49%)
CMYKcmyk(57.6%, 76%, 0%, 51%)
CIE-LABlab(20.70, 36.77, -49.87)
CIE-LCHlch(20.70, 61.96, 306.40°)
OKLaboklab(33.26% 0.0415 -0.1435)
OKLCHoklch(33.26% 0.149 286.1)
XYZxyz(5.6330, 3.1658, 19.7123)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E7D #667D1E
analogous
#1E377D #351E7D #641E7D
triadic
#351E7D #7D351E #1E7D35
tetradic
#351E7D #7D1E37 #667D1E #1E7D64
square
#351E7D #7D1E37 #667D1E #1E7D64
split-complementary
#351E7D #7D641E #377D1E
monochromatic
#0B061A #20124C #351E7D #4A2AAE #6643D2

Accessibility & contrast

On white

12.86
#351E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#351E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E7D
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E7D#FFFFFF#000000##FFFFFF
##351E7D1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#14384C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351e7d;
/* rgb */ color: rgb(53, 30, 125);
/* oklch */ color: oklch(33.3% 0.149 286.1);
Tailwind
colors: {
  custom: {
    50: '#755ca4',
    500: '#351e7d',
    950: '#000000',
  },
}
SCSS
$custom: #351e7d;
$custom-light: #755ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#351e7d",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 254.526,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33261,
    "c": 0.14941,
    "h": 286.1
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#351E7D
secondary
#97B046
accent
#E443BD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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