#351952#351952

#351952 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.6% C 0.100 H 303.2°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#351952
RGBrgb(53, 25, 82)
HSLhsl(269, 53%, 21%)
HSVhsv(269, 70%, 32%)
CMYKcmyk(35.4%, 69.5%, 0%, 67.8%)
CIE-LABlab(15.81, 26.65, -29.63)
CIE-LCHlch(15.81, 39.86, 311.97°)
OKLaboklab(28.57% 0.0549 -0.0841)
OKLCHoklch(28.57% 0.1 303.2)
XYZxyz(3.3385, 2.0613, 8.2030)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351952 #365219
analogous
#191952 #351952 #511952
triadic
#351952 #523519 #195235
tetradic
#351952 #521919 #365219 #195251
square
#351952 #521919 #365219 #195251
split-complementary
#351952 #525119 #195219
monochromatic
#0F0717 #170B23 #351952 #532781 #7236B0

Accessibility & contrast

On white

14.87
#351952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#351952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351952
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351952#FFFFFF#000000##FFFFFF
##3519521.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#072751
Tritanopia (blue-blind)
#2F2533
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351952;
/* rgb */ color: rgb(53, 25, 82);
/* oklch */ color: oklch(28.6% 0.100 303.2);
Tailwind
colors: {
  custom: {
    50: '#6f5783',
    500: '#351952',
    950: '#000000',
  },
}
SCSS
$custom: #351952;
$custom-light: #6f5783;
$custom-dark: #000000;
JSON
{
  "hex": "#351952",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 269.474,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28573,
    "c": 0.10042,
    "h": 303.2
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#351952
secondary
#64883E
accent
#DD4B95
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030A
muted
#7A787C

Preview Lab

Preview with #351952

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

Preview Lab → · Contrast checker → · Palette generator →

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