#351D7B#351D7B

#351D7B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.148 H 286.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#351D7B
RGBrgb(53, 29, 123)
HSLhsl(255, 62%, 30%)
HSVhsv(255, 76%, 48%)
CMYKcmyk(56.9%, 76.4%, 0%, 51.8%)
CIE-LABlab(20.30, 36.70, -49.24)
CIE-LCHlch(20.30, 61.41, 306.69°)
OKLaboklab(32.92% 0.0429 -0.1417)
OKLCHoklch(32.92% 0.148 286.8)
XYZxyz(5.4816, 3.0654, 19.0379)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D7B #637B1D
analogous
#1D347B #351D7B #641D7B
triadic
#351D7B #7B351D #1D7B35
tetradic
#351D7B #7B1D34 #637B1D #1D7B64
square
#351D7B #7B1D34 #637B1D #1D7B64
split-complementary
#351D7B #7B641D #347B1D
monochromatic
#0B0619 #201149 #351D7B #4A29AD #6640D2

Accessibility & contrast

On white

13.02
#351D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351D7B
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D7B#FFFFFF#000000##FFFFFF
##351D7B1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002E79
Tritanopia (blue-blind)
#17374A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351d7b;
/* rgb */ color: rgb(53, 29, 123);
/* oklch */ color: oklch(32.9% 0.148 286.8);
Tailwind
colors: {
  custom: {
    50: '#755ca2',
    500: '#351d7b',
    950: '#000000',
  },
}
SCSS
$custom: #351d7b;
$custom-light: #755ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#351d7b",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 255.319,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32924,
    "c": 0.14802,
    "h": 286.8
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#351D7B
secondary
#94AF45
accent
#E543BC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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