#351961#351961

#351961 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.120 H 296.1°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#351961
RGBrgb(53, 25, 97)
HSLhsl(263, 59%, 24%)
HSVhsv(263, 74%, 38%)
CMYKcmyk(45.4%, 74.2%, 0%, 62%)
CIE-LABlab(17.06, 31.02, -37.66)
CIE-LCHlch(17.06, 48.79, 309.48°)
OKLaboklab(29.87% 0.0528 -0.1077)
OKLCHoklch(29.87% 0.12 296.1)
XYZxyz(3.9729, 2.3151, 11.5445)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351961 #456119
analogous
#192161 #351961 #591961
triadic
#351961 #613519 #196135
tetradic
#351961 #611921 #456119 #196159
square
#351961 #611921 #456119 #196159
split-complementary
#351961 #615919 #216119
monochromatic
#0D0618 #1A0C30 #351961 #502692 #6A32C2

Accessibility & contrast

On white

14.35
#351961 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351961
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351961#FFFFFF#000000##FFFFFF
##3519611.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351961;
/* rgb */ color: rgb(53, 25, 97);
/* oklch */ color: oklch(29.9% 0.120 296.1);
Tailwind
colors: {
  custom: {
    50: '#71588f',
    500: '#351961',
    950: '#000000',
  },
}
SCSS
$custom: #351961;
$custom-light: #71588f;
$custom-dark: #000000;
JSON
{
  "hex": "#351961",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 263.333,
    "s": 59.016,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2987,
    "c": 0.11992,
    "h": 296.1
  },
  "luminance": 0.02315
}

Semantic roles & 50–950 ramp

primary
#351961
secondary
#75973F
accent
#E246A5
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351961

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

Preview Lab → · Contrast checker → · Palette generator →

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