#351A93#351A93

#351A93 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.180 H 282.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#351A93
RGBrgb(53, 26, 147)
HSLhsl(253, 70%, 34%)
HSVhsv(253, 82%, 58%)
CMYKcmyk(63.9%, 82.3%, 0%, 42.4%)
CIE-LABlab(22.31, 45.48, -61.01)
CIE-LCHlch(22.31, 76.10, 306.70°)
OKLaboklab(35.08% 0.0378 -0.176)
OKLCHoklch(35.08% 0.18 282.1)
XYZxyz(7.1024, 3.6017, 27.9190)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A93 #78931A
analogous
#1A3C93 #351A93 #721A93
triadic
#351A93 #93351A #1A9335
tetradic
#351A93 #931A3C #78931A #1A9372
square
#351A93 #931A3C #78931A #1A9372
split-complementary
#351A93 #93721A #3C931A
monochromatic
#10082B #22115F #351A93 #4823C7 #6A49DF

Accessibility & contrast

On white

12.21
#351A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#351A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A93
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A93#FFFFFF#000000##FFFFFF
##351A931.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351a93;
/* rgb */ color: rgb(53, 26, 147);
/* oklch */ color: oklch(35.1% 0.180 282.1);
Tailwind
colors: {
  custom: {
    50: '#7a5cb4',
    500: '#351a93',
    950: '#000000',
  },
}
SCSS
$custom: #351a93;
$custom-light: #7a5cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#351a93",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 253.388,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35082,
    "c": 0.18002,
    "h": 282.1
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#351A93
secondary
#A6C048
accent
#ED3BC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351A93

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

Preview Lab → · Contrast checker → · Palette generator →

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