#351362#351362

#351362 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.129 H 297.2°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#351362
RGBrgb(53, 19, 98)
HSLhsl(266, 68%, 23%)
HSVhsv(266, 81%, 38%)
CMYKcmyk(45.9%, 80.6%, 0%, 61.6%)
CIE-LABlab(16.03, 34.49, -40.01)
CIE-LCHlch(16.03, 52.82, 310.76°)
OKLaboklab(29.17% 0.0588 -0.1145)
OKLCHoklch(29.17% 0.129 297.2)
XYZxyz(3.9051, 2.1044, 11.7533)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351362 #406213
analogous
#131862 #351362 #5C1362
triadic
#351362 #623513 #136235
tetradic
#351362 #621318 #406213 #13625C
square
#351362 #621318 #406213 #13625C
split-complementary
#351362 #625C13 #186213
monochromatic
#0E051A #19092F #351362 #511D95 #6C27C9

Accessibility & contrast

On white

14.78
#351362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#351362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351362
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351362#FFFFFF#000000##FFFFFF
##3513621.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002760
Tritanopia (blue-blind)
#29283A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351362;
/* rgb */ color: rgb(53, 19, 98);
/* oklch */ color: oklch(29.2% 0.129 297.2);
Tailwind
colors: {
  custom: {
    50: '#72558f',
    500: '#351362',
    950: '#000000',
  },
}
SCSS
$custom: #351362;
$custom-light: #72558f;
$custom-dark: #000000;
JSON
{
  "hex": "#351362",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 265.823,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29166,
    "c": 0.12874,
    "h": 297.2
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#351362
secondary
#6F9A37
accent
#EA3DA0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351362

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

Preview Lab → · Contrast checker → · Palette generator →

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