#351850#351850

#351850 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.099 H 304.6°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#351850
RGBrgb(53, 24, 80)
HSLhsl(271, 54%, 20%)
HSVhsv(271, 70%, 31%)
CMYKcmyk(33.7%, 70%, 0%, 68.6%)
CIE-LABlab(15.43, 26.68, -28.87)
CIE-LCHlch(15.43, 39.31, 312.74°)
OKLaboklab(28.25% 0.0565 -0.0818)
OKLCHoklch(28.25% 0.099 304.6)
XYZxyz(3.2425, 1.9894, 7.8010)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351850 #335018
analogous
#191850 #351850 #50184F
triadic
#351850 #503518 #185035
tetradic
#351850 #501918 #335018 #184F50
square
#351850 #501918 #335018 #184F50
split-complementary
#351850 #4F5018 #185019
monochromatic
#100718 #160A21 #351850 #54267F #7334AE

Accessibility & contrast

On white

15.02
#351850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#351850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351850
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351850#FFFFFF#000000##FFFFFF
##3518501.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#09274F
Tritanopia (blue-blind)
#302431
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351850;
/* rgb */ color: rgb(53, 24, 80);
/* oklch */ color: oklch(28.3% 0.099 304.6);
Tailwind
colors: {
  custom: {
    50: '#6f5781',
    500: '#351850',
    950: '#000000',
  },
}
SCSS
$custom: #351850;
$custom-light: #6f5781;
$custom-dark: #000000;
JSON
{
  "hex": "#351850",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 271.071,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28253,
    "c": 0.09942,
    "h": 304.6
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#351850
secondary
#61873D
accent
#DD4B91
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #351850

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

Preview Lab → · Contrast checker → · Palette generator →

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