#351861#351861

#351861 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.121 H 296.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#351861
RGBrgb(53, 24, 97)
HSLhsl(264, 60%, 24%)
HSVhsv(264, 75%, 38%)
CMYKcmyk(45.4%, 75.3%, 0%, 62%)
CIE-LABlab(16.86, 31.58, -37.99)
CIE-LCHlch(16.86, 49.40, 309.74°)
OKLaboklab(29.73% 0.0539 -0.1086)
OKLCHoklch(29.73% 0.121 296.4)
XYZxyz(3.9519, 2.2731, 11.5375)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351861 #446118
analogous
#181F61 #351861 #591861
triadic
#351861 #613518 #186135
tetradic
#351861 #61181F #446118 #186159
square
#351861 #61181F #446118 #186159
split-complementary
#351861 #615918 #1F6118
monochromatic
#0D0619 #1A0C30 #351861 #502492 #6B30C3

Accessibility & contrast

On white

14.44
#351861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#351861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351861
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351861#FFFFFF#000000##FFFFFF
##3518611.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002960
Tritanopia (blue-blind)
#292A3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351861;
/* rgb */ color: rgb(53, 24, 97);
/* oklch */ color: oklch(29.7% 0.121 296.4);
Tailwind
colors: {
  custom: {
    50: '#71578f',
    500: '#351861',
    950: '#000000',
  },
}
SCSS
$custom: #351861;
$custom-light: #71578f;
$custom-dark: #000000;
JSON
{
  "hex": "#351861",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 263.836,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29727,
    "c": 0.12127,
    "h": 296.4
  },
  "luminance": 0.02273
}

Semantic roles & 50–950 ramp

primary
#351861
secondary
#74973D
accent
#E344A4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351861

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

Preview Lab → · Contrast checker → · Palette generator →

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