#351994#351994

#351994 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.182 H 282.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#351994
RGBrgb(53, 25, 148)
HSLhsl(254, 71%, 34%)
HSVhsv(254, 83%, 58%)
CMYKcmyk(64.2%, 83.1%, 0%, 42%)
CIE-LABlab(22.27, 46.22, -61.70)
CIE-LCHlch(22.27, 77.10, 306.84°)
OKLaboklab(35.09% 0.038 -0.178)
OKLCHoklch(35.09% 0.182 282)
XYZxyz(7.1595, 3.5897, 28.3268)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351994 #789419
analogous
#193A94 #351994 #731994
triadic
#351994 #943519 #199435
tetradic
#351994 #94193A #789419 #199473
square
#351994 #94193A #789419 #199473
split-complementary
#351994 #947319 #3A9419
monochromatic
#10072B #221060 #351994 #4822C8 #6A47E0

Accessibility & contrast

On white

12.22
#351994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#351994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351994
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351994#FFFFFF#000000##FFFFFF
##3519941.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#003F58
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351994;
/* rgb */ color: rgb(53, 25, 148);
/* oklch */ color: oklch(35.1% 0.182 282.0);
Tailwind
colors: {
  custom: {
    50: '#7a5bb5',
    500: '#351994',
    950: '#000000',
  },
}
SCSS
$custom: #351994;
$custom-light: #7a5bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#351994",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 253.659,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35086,
    "c": 0.182,
    "h": 282
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#351994
secondary
#A6C147
accent
#EE3AC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351994

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

Preview Lab → · Contrast checker → · Palette generator →

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