#351FA0#351FA0

#351FA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.191 H 279.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#351FA0
RGBrgb(53, 31, 160)
HSLhsl(250, 68%, 37%)
HSVhsv(250, 81%, 63%)
CMYKcmyk(66.9%, 80.6%, 0%, 37.3%)
CIE-LABlab(24.56, 47.02, -65.28)
CIE-LCHlch(24.56, 80.45, 305.77°)
OKLaboklab(37.07% 0.0311 -0.1885)
OKLCHoklch(37.07% 0.191 279.4)
XYZxyz(8.3013, 4.2742, 33.6384)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351FA0 #8AA01F
analogous
#1F49A0 #351FA0 #761FA0
triadic
#351FA0 #A0351F #1FA035
tetradic
#351FA0 #A01F49 #8AA01F #1FA076
square
#351FA0 #A01F49 #8AA01F #1FA076
split-complementary
#351FA0 #A0761F #49A01F
monochromatic
#130B39 #24156D #351FA0 #4629D3 #715ADF

Accessibility & contrast

On white

11.32
#351FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#351FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351FA0
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351FA0#FFFFFF#000000##FFFFFF
##351FA01.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #351fa0;
/* rgb */ color: rgb(53, 31, 160);
/* oklch */ color: oklch(37.1% 0.191 279.4);
Tailwind
colors: {
  custom: {
    50: '#7c5fbd',
    500: '#351fa0',
    950: '#000000',
  },
}
SCSS
$custom: #351fa0;
$custom-light: #7c5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#351fa0",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 250.233,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37067,
    "c": 0.19103,
    "h": 279.4
  },
  "luminance": 0.04275
}

Semantic roles & 50–950 ramp

primary
#351FA0
secondary
#B1C358
accent
#EA3DCD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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