#351DA8#351DA8

#351DA8 is a dark, highly saturated violet. Relative luminance 0.045; OKLCH L 37.7% C 0.202 H 278.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#351DA8
RGBrgb(53, 29, 168)
HSLhsl(250, 71%, 39%)
HSVhsv(250, 83%, 66%)
CMYKcmyk(68.5%, 82.7%, 0%, 34.1%)
CIE-LABlab(25.14, 50.33, -69.16)
CIE-LCHlch(25.14, 85.54, 306.04°)
OKLaboklab(37.74% 0.0296 -0.1998)
OKLCHoklch(37.74% 0.202 278.4)
XYZxyz(8.9732, 4.4620, 37.4266)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351DA8 #90A81D
analogous
#1D4AA8 #351DA8 #7A1DA8
triadic
#351DA8 #A8351D #1DA835
tetradic
#351DA8 #A81D4A #90A81D #1DA87A
square
#351DA8 #A81D4A #90A81D #1DA87A
split-complementary
#351DA8 #A87A1D #4AA81D
monochromatic
#140B40 #251474 #351DA8 #4728DA #745CE3

Accessibility & contrast

On white

11.10
#351DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#351DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351DA8
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351DA8#FFFFFF#000000##FFFFFF
##351DA81.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #351da8;
/* rgb */ color: rgb(53, 29, 168);
/* oklch */ color: oklch(37.7% 0.202 278.4);
Tailwind
colors: {
  custom: {
    50: '#7e5fc3',
    500: '#351da8',
    950: '#000000',
  },
}
SCSS
$custom: #351da8;
$custom-light: #7e5fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#351da8",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 168
  },
  "hsl": {
    "h": 250.36,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37736,
    "c": 0.20193,
    "h": 278.4
  },
  "luminance": 0.04463
}

Semantic roles & 50–950 ramp

primary
#351DA8
secondary
#B4C75A
accent
#ED3ACE
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #351DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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