#351895#351895

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

Color values

HEX#351895
RGBrgb(53, 24, 149)
HSLhsl(254, 72%, 34%)
HSVhsv(254, 84%, 58%)
CMYKcmyk(64.4%, 83.9%, 0%, 41.6%)
CIE-LABlab(22.23, 46.95, -62.38)
CIE-LCHlch(22.23, 78.08, 306.97°)
OKLaboklab(35.09% 0.0381 -0.18)
OKLCHoklch(35.09% 0.184 282)
XYZxyz(7.2179, 3.5795, 28.7385)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351895 #789518
analogous
#183A95 #351895 #741895
triadic
#351895 #953518 #189535
tetradic
#351895 #95183A #789518 #189574
square
#351895 #95183A #789518 #189574
split-complementary
#351895 #957418 #3A9518
monochromatic
#10072C #221060 #351895 #4820CA #6A46E1

Accessibility & contrast

On white

12.24
#351895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351895
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351895#FFFFFF#000000##FFFFFF
##3518951.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351895;
/* rgb */ color: rgb(53, 24, 149);
/* oklch */ color: oklch(35.1% 0.184 282.0);
Tailwind
colors: {
  custom: {
    50: '#7a5bb5',
    500: '#351895',
    950: '#000000',
  },
}
SCSS
$custom: #351895;
$custom-light: #7a5bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#351895",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 253.92,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35094,
    "c": 0.18396,
    "h": 282
  },
  "luminance": 0.0358
}

Semantic roles & 50–950 ramp

primary
#351895
secondary
#A6C246
accent
#EF39C5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #351895

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

Preview Lab → · Contrast checker → · Palette generator →

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