#351A98#351A98

#351A98 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.186 H 281.2°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#351A98
RGBrgb(53, 26, 152)
HSLhsl(253, 71%, 35%)
HSVhsv(253, 83%, 60%)
CMYKcmyk(65.1%, 82.9%, 0%, 40.4%)
CIE-LABlab(22.87, 46.95, -63.17)
CIE-LCHlch(22.87, 78.71, 306.62°)
OKLaboklab(35.63% 0.0361 -0.1823)
OKLCHoklch(35.63% 0.186 281.2)
XYZxyz(7.5033, 3.7621, 30.0304)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A98 #7D981A
analogous
#1A3E98 #351A98 #741A98
triadic
#351A98 #98351A #1A9835
tetradic
#351A98 #981A3E #7D981A #1A9874
square
#351A98 #981A3E #7D981A #1A9874
split-complementary
#351A98 #98741A #3E981A
monochromatic
#11082F #231164 #351A98 #4723CC #6C4CE0

Accessibility & contrast

On white

11.98
#351A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A98
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A98#FFFFFF#000000##FFFFFF
##351A981.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003296
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351a98;
/* rgb */ color: rgb(53, 26, 152);
/* oklch */ color: oklch(35.6% 0.186 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b5cb8',
    500: '#351a98',
    950: '#000000',
  },
}
SCSS
$custom: #351a98;
$custom-light: #7b5cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#351a98",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 252.857,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35634,
    "c": 0.18583,
    "h": 281.2
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#351A98
secondary
#A9C24B
accent
#EE3AC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #351A98

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

Preview Lab → · Contrast checker → · Palette generator →

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