#351B93#351B93

#351B93 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.179 H 282.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#351B93
RGBrgb(53, 27, 147)
HSLhsl(253, 69%, 34%)
HSVhsv(253, 82%, 58%)
CMYKcmyk(63.9%, 81.6%, 0%, 42.4%)
CIE-LABlab(22.47, 45.01, -60.75)
CIE-LCHlch(22.47, 75.61, 306.54°)
OKLaboklab(35.19% 0.0372 -0.1752)
OKLCHoklch(35.19% 0.179 282)
XYZxyz(7.1249, 3.6468, 27.9266)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B93 #79931B
analogous
#1B3D93 #351B93 #711B93
triadic
#351B93 #93351B #1B9335
tetradic
#351B93 #931B3D #79931B #1B9371
square
#351B93 #931B3D #79931B #1B9371
split-complementary
#351B93 #93711B #3D931B
monochromatic
#10082C #22125F #351B93 #4824C7 #6A4BDE

Accessibility & contrast

On white

12.14
#351B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#351B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B93
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B93#FFFFFF#000000##FFFFFF
##351B931.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351b93;
/* rgb */ color: rgb(53, 27, 147);
/* oklch */ color: oklch(35.2% 0.179 282.0);
Tailwind
colors: {
  custom: {
    50: '#7a5cb4',
    500: '#351b93',
    950: '#000000',
  },
}
SCSS
$custom: #351b93;
$custom-light: #7a5cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#351b93",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 147
  },
  "hsl": {
    "h": 253,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35192,
    "c": 0.17916,
    "h": 282
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#351B93
secondary
#A6C04A
accent
#EC3CC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351B93

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

Preview Lab → · Contrast checker → · Palette generator →

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