#351BA0#351BA0

#351BA0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.194 H 279.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#351BA0
RGBrgb(53, 27, 160)
HSLhsl(252, 71%, 37%)
HSVhsv(252, 83%, 63%)
CMYKcmyk(66.9%, 83.1%, 0%, 37.3%)
CIE-LABlab(23.93, 48.86, -66.32)
CIE-LCHlch(23.93, 82.37, 306.38°)
OKLaboklab(36.63% 0.033 -0.1915)
OKLCHoklch(36.63% 0.194 279.8)
XYZxyz(8.2033, 4.0781, 33.6058)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351BA0 #86A01B
analogous
#1B44A0 #351BA0 #781BA0
triadic
#351BA0 #A0351B #1BA035
tetradic
#351BA0 #A01B44 #86A01B #1BA078
square
#351BA0 #A01B44 #86A01B #1BA078
split-complementary
#351BA0 #A0781B #44A01B
monochromatic
#120937 #24126C #351BA0 #4624D4 #6F53E2

Accessibility & contrast

On white

11.57
#351BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#351BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351BA0
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351BA0#FFFFFF#000000##FFFFFF
##351BA01.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351ba0;
/* rgb */ color: rgb(53, 27, 160);
/* oklch */ color: oklch(36.6% 0.194 279.8);
Tailwind
colors: {
  custom: {
    50: '#7c5dbd',
    500: '#351ba0',
    950: '#000000',
  },
}
SCSS
$custom: #351ba0;
$custom-light: #7c5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#351ba0",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 251.729,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36631,
    "c": 0.19428,
    "h": 279.8
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#351BA0
secondary
#AEC552
accent
#EE3ACB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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