#351999#351999

#351999 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.188 H 281.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#351999
RGBrgb(53, 25, 153)
HSLhsl(253, 72%, 35%)
HSVhsv(253, 84%, 60%)
CMYKcmyk(65.4%, 83.7%, 0%, 40%)
CIE-LABlab(22.83, 47.68, -63.85)
CIE-LCHlch(22.83, 79.69, 306.75°)
OKLaboklab(35.64% 0.0363 -0.1842)
OKLCHoklch(35.64% 0.188 281.1)
XYZxyz(7.5638, 3.7515, 30.4563)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351999 #7D9919
analogous
#193D99 #351999 #751999
triadic
#351999 #993519 #199935
tetradic
#351999 #99193D #7D9919 #199975
square
#351999 #99193D #7D9919 #199975
split-complementary
#351999 #997519 #3D9919
monochromatic
#110830 #231064 #351999 #4722CE #6C4BE2

Accessibility & contrast

On white

12.00
#351999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#351999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##351999#FFFFFF#000000##FFFFFF
##3519991.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)
#003B9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00415B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351999;
/* rgb */ color: rgb(53, 25, 153);
/* oklch */ color: oklch(35.6% 0.188 281.1);
Tailwind
colors: {
  custom: {
    50: '#7b5bb8',
    500: '#351999',
    950: '#000000',
  },
}
SCSS
$custom: #351999;
$custom-light: #7b5bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#351999",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 153
  },
  "hsl": {
    "h": 253.125,
    "s": 71.91,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35642,
    "c": 0.18778,
    "h": 281.1
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#351999
secondary
#A9C34A
accent
#EF39C7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351999

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

Preview Lab → · Contrast checker → · Palette generator →

#351999 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva