#351862#351862

#351862 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.123 H 296.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#351862
RGBrgb(53, 24, 98)
HSLhsl(264, 61%, 24%)
HSVhsv(264, 76%, 38%)
CMYKcmyk(45.9%, 75.5%, 0%, 61.6%)
CIE-LABlab(16.95, 31.88, -38.50)
CIE-LCHlch(16.95, 49.98, 309.62°)
OKLaboklab(29.82% 0.0537 -0.1101)
OKLCHoklch(29.82% 0.123 296)
XYZxyz(3.9989, 2.2919, 11.7846)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351862 #456218
analogous
#182062 #351862 #5A1862
triadic
#351862 #623518 #186235
tetradic
#351862 #621820 #456218 #18625A
square
#351862 #621820 #456218 #18625A
split-complementary
#351862 #625A18 #206218
monochromatic
#0D0619 #1A0C31 #351862 #502493 #6A30C4

Accessibility & contrast

On white

14.40
#351862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#351862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351862
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351862#FFFFFF#000000##FFFFFF
##3518621.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#292B3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351862;
/* rgb */ color: rgb(53, 24, 98);
/* oklch */ color: oklch(29.8% 0.123 296.0);
Tailwind
colors: {
  custom: {
    50: '#71588f',
    500: '#351862',
    950: '#000000',
  },
}
SCSS
$custom: #351862;
$custom-light: #71588f;
$custom-dark: #000000;
JSON
{
  "hex": "#351862",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 263.514,
    "s": 60.656,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29819,
    "c": 0.12253,
    "h": 296
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#351862
secondary
#75983E
accent
#E444A5
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351862

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

Preview Lab → · Contrast checker → · Palette generator →

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