#351F75#351F75

#351F75 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.138 H 287.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#351F75
RGBrgb(53, 31, 117)
HSLhsl(255, 58%, 29%)
HSVhsv(255, 74%, 46%)
CMYKcmyk(54.7%, 73.5%, 0%, 54.1%)
CIE-LABlab(20.13, 33.70, -45.69)
CIE-LCHlch(20.13, 56.78, 306.41°)
OKLaboklab(32.62% 0.0425 -0.1313)
OKLCHoklch(32.62% 0.138 287.9)
XYZxyz(5.1681, 3.0210, 17.1370)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F75 #5F751F
analogous
#1F3475 #351F75 #601F75
triadic
#351F75 #75351F #1F7535
tetradic
#351F75 #751F34 #5F751F #1F7560
square
#351F75 #751F34 #5F751F #1F7560
split-complementary
#351F75 #75601F #34751F
monochromatic
#0B0618 #1F1245 #351F75 #4B2CA5 #6542CD

Accessibility & contrast

On white

13.09
#351F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351F75
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F75#FFFFFF#000000##FFFFFF
##351F751.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#1C3547
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351f75;
/* rgb */ color: rgb(53, 31, 117);
/* oklch */ color: oklch(32.6% 0.138 287.9);
Tailwind
colors: {
  custom: {
    50: '#745d9e',
    500: '#351f75',
    950: '#000000',
  },
}
SCSS
$custom: #351f75;
$custom-light: #745d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#351f75",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 255.349,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32622,
    "c": 0.13798,
    "h": 287.9
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#351F75
secondary
#90A947
accent
#E146BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351F75

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

Preview Lab → · Contrast checker → · Palette generator →

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