#351F93#351F93

#351F93 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.176 H 281.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#351F93
RGBrgb(53, 31, 147)
HSLhsl(251, 65%, 35%)
HSVhsv(251, 79%, 58%)
CMYKcmyk(63.9%, 78.9%, 0%, 42.4%)
CIE-LABlab(23.15, 43.06, -59.63)
CIE-LCHlch(23.15, 73.55, 305.83°)
OKLaboklab(35.66% 0.0349 -0.172)
OKLCHoklch(35.66% 0.176 281.5)
XYZxyz(7.2230, 3.8429, 27.9592)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F93 #7D931F
analogous
#1F4393 #351F93 #6F1F93
triadic
#351F93 #93351F #1F9335
tetradic
#351F93 #931F43 #7D931F #1F936F
square
#351F93 #931F43 #7D931F #1F936F
split-complementary
#351F93 #936F1F #43931F
monochromatic
#110A2E #231460 #351F93 #472AC6 #6C52DA

Accessibility & contrast

On white

11.87
#351F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#351F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351F93
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F93#FFFFFF#000000##FFFFFF
##351F931.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351f93;
/* rgb */ color: rgb(53, 31, 147);
/* oklch */ color: oklch(35.7% 0.176 281.5);
Tailwind
colors: {
  custom: {
    50: '#795eb4',
    500: '#351f93',
    950: '#000000',
  },
}
SCSS
$custom: #351f93;
$custom-light: #795eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#351f93",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 251.379,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35664,
    "c": 0.17554,
    "h": 281.5
  },
  "luminance": 0.03843
}

Semantic roles & 50–950 ramp

primary
#351F93
secondary
#A9BE50
accent
#E840C8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #351F93

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

Preview Lab → · Contrast checker → · Palette generator →

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