#351864#351864

#351864 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.125 H 295.2°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#351864
RGBrgb(53, 24, 100)
HSLhsl(263, 61%, 24%)
HSVhsv(263, 76%, 39%)
CMYKcmyk(47%, 76%, 0%, 60.8%)
CIE-LABlab(17.13, 32.47, -39.53)
CIE-LCHlch(17.13, 51.15, 309.40°)
OKLaboklab(30.01% 0.0533 -0.1131)
OKLCHoklch(30.01% 0.125 295.2)
XYZxyz(4.0945, 2.3301, 12.2882)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351864 #476418
analogous
#182164 #351864 #5B1864
triadic
#351864 #643518 #186435
tetradic
#351864 #641821 #476418 #18645B
square
#351864 #641821 #476418 #18645B
split-complementary
#351864 #645B18 #216418
monochromatic
#0D0619 #1B0C33 #351864 #4F2495 #6930C7

Accessibility & contrast

On white

14.32
#351864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#351864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351864
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351864#FFFFFF#000000##FFFFFF
##3518641.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#282B3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351864;
/* rgb */ color: rgb(53, 24, 100);
/* oklch */ color: oklch(30.0% 0.125 295.2);
Tailwind
colors: {
  custom: {
    50: '#715891',
    500: '#351864',
    950: '#000000',
  },
}
SCSS
$custom: #351864;
$custom-light: #715891;
$custom-dark: #000000;
JSON
{
  "hex": "#351864",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 262.895,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30005,
    "c": 0.12505,
    "h": 295.2
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#351864
secondary
#779A3E
accent
#E443A7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351864

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

Preview Lab → · Contrast checker → · Palette generator →

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