#351D95#351D95

#351D95 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.180 H 281.4°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#351D95
RGBrgb(53, 29, 149)
HSLhsl(252, 67%, 35%)
HSVhsv(252, 81%, 58%)
CMYKcmyk(64.4%, 80.5%, 0%, 41.6%)
CIE-LABlab(23.02, 44.66, -61.08)
CIE-LCHlch(23.02, 75.66, 306.17°)
OKLaboklab(35.64% 0.0355 -0.1762)
OKLCHoklch(35.64% 0.18 281.4)
XYZxyz(7.3307, 3.8050, 28.7761)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D95 #7D951D
analogous
#1D4195 #351D95 #711D95
triadic
#351D95 #95351D #1D9535
tetradic
#351D95 #951D41 #7D951D #1D9571
square
#351D95 #951D41 #7D951D #1D9571
split-complementary
#351D95 #95711D #41951D
monochromatic
#11092F #231362 #351D95 #4727C8 #6C50DD

Accessibility & contrast

On white

11.92
#351D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#351D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D95
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D95#FFFFFF#000000##FFFFFF
##351D951.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351d95;
/* rgb */ color: rgb(53, 29, 149);
/* oklch */ color: oklch(35.6% 0.180 281.4);
Tailwind
colors: {
  custom: {
    50: '#7a5db5',
    500: '#351d95',
    950: '#000000',
  },
}
SCSS
$custom: #351d95;
$custom-light: #7a5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#351d95",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 252,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35638,
    "c": 0.17977,
    "h": 281.4
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#351D95
secondary
#A9C04E
accent
#EA3DC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351D95

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

Preview Lab → · Contrast checker → · Palette generator →

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