#351F90#351F90

#351F90 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.172 H 282.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#351F90
RGBrgb(53, 31, 144)
HSLhsl(252, 65%, 34%)
HSVhsv(252, 78%, 56%)
CMYKcmyk(63.2%, 78.5%, 0%, 43.5%)
CIE-LABlab(22.83, 42.13, -58.30)
CIE-LCHlch(22.83, 71.93, 305.86°)
OKLaboklab(35.35% 0.0357 -0.1681)
OKLCHoklch(35.35% 0.172 282)
XYZxyz(6.9907, 3.7500, 26.7356)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F90 #7A901F
analogous
#1F4290 #351F90 #6D1F90
triadic
#351F90 #90351F #1F9035
tetradic
#351F90 #901F42 #7A901F #1F906D
square
#351F90 #901F42 #7A901F #1F906D
split-complementary
#351F90 #906D1F #42901F
monochromatic
#10092B #22145E #351F90 #482AC2 #6B50D9

Accessibility & contrast

On white

12.00
#351F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#351F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351F90
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F90#FFFFFF#000000##FFFFFF
##351F901.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351f90;
/* rgb */ color: rgb(53, 31, 144);
/* oklch */ color: oklch(35.3% 0.172 282.0);
Tailwind
colors: {
  custom: {
    50: '#795eb2',
    500: '#351f90',
    950: '#000000',
  },
}
SCSS
$custom: #351f90;
$custom-light: #795eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#351f90",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 251.681,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35346,
    "c": 0.1719,
    "h": 282
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#351F90
secondary
#A7BC4E
accent
#E840C7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351F90

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

Preview Lab → · Contrast checker → · Palette generator →

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