#351762#351762

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

Color values

HEX#351762
RGBrgb(53, 23, 98)
HSLhsl(264, 62%, 24%)
HSVhsv(264, 77%, 38%)
CMYKcmyk(45.9%, 76.5%, 0%, 61.6%)
CIE-LABlab(16.75, 32.42, -38.82)
CIE-LCHlch(16.75, 50.58, 309.87°)
OKLaboklab(29.68% 0.0548 -0.1111)
OKLCHoklch(29.68% 0.124 296.3)
XYZxyz(3.9786, 2.2514, 11.7779)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351762 #446217
analogous
#171E62 #351762 #5A1762
triadic
#351762 #623517 #176235
tetradic
#351762 #62171E #446217 #17625A
square
#351762 #62171E #446217 #17625A
split-complementary
#351762 #625A17 #1E6217
monochromatic
#0D0619 #1A0B30 #351762 #502394 #6B2EC5

Accessibility & contrast

On white

14.48
#351762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351762
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351762#FFFFFF#000000##FFFFFF
##3517621.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002861
Tritanopia (blue-blind)
#292A3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351762;
/* rgb */ color: rgb(53, 23, 98);
/* oklch */ color: oklch(29.7% 0.124 296.3);
Tailwind
colors: {
  custom: {
    50: '#71578f',
    500: '#351762',
    950: '#000000',
  },
}
SCSS
$custom: #351762;
$custom-light: #71578f;
$custom-dark: #000000;
JSON
{
  "hex": "#351762",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 98
  },
  "hsl": {
    "h": 264,
    "s": 61.983,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2968,
    "c": 0.12384,
    "h": 296.3
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#351762
secondary
#74993C
accent
#E543A4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351762

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

Preview Lab → · Contrast checker → · Palette generator →

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