#351893#351893

#351893 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.182 H 282.3°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#351893
RGBrgb(53, 24, 147)
HSLhsl(254, 72%, 34%)
HSVhsv(254, 84%, 58%)
CMYKcmyk(63.9%, 83.7%, 0%, 42.4%)
CIE-LABlab(22.00, 46.37, -61.52)
CIE-LCHlch(22.00, 77.04, 307.01°)
OKLaboklab(34.87% 0.0388 -0.1774)
OKLCHoklch(34.87% 0.182 282.3)
XYZxyz(7.0596, 3.5162, 27.9048)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351893 #769318
analogous
#183893 #351893 #721893
triadic
#351893 #933518 #189335
tetradic
#351893 #931838 #769318 #189372
square
#351893 #931838 #769318 #189372
split-complementary
#351893 #937218 #389318
monochromatic
#0F072A #220F5E #351893 #4821C8 #6A45E1

Accessibility & contrast

On white

12.33
#351893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#351893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351893
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351893#FFFFFF#000000##FFFFFF
##3518931.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351893;
/* rgb */ color: rgb(53, 24, 147);
/* oklch */ color: oklch(34.9% 0.182 282.3);
Tailwind
colors: {
  custom: {
    50: '#7a5bb4',
    500: '#351893',
    950: '#000000',
  },
}
SCSS
$custom: #351893;
$custom-light: #7a5bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#351893",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 254.146,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34871,
    "c": 0.18165,
    "h": 282.3
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#351893
secondary
#A4C245
accent
#EF39C4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351893

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

Preview Lab → · Contrast checker → · Palette generator →

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