#351168#351168

#351168 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.138 H 295.2°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#351168
RGBrgb(53, 17, 104)
HSLhsl(265, 72%, 24%)
HSVhsv(265, 84%, 41%)
CMYKcmyk(49%, 83.7%, 0%, 59.2%)
CIE-LABlab(16.29, 37.12, -43.54)
CIE-LCHlch(16.29, 57.21, 310.45°)
OKLaboklab(29.53% 0.0587 -0.1248)
OKLCHoklch(29.53% 0.138 295.2)
XYZxyz(4.1667, 2.1571, 13.2909)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351168 #446811
analogous
#111868 #351168 #601168
triadic
#351168 #683511 #116835
tetradic
#351168 #681118 #446811 #116860
square
#351168 #681118 #446811 #116860
split-complementary
#351168 #686011 #186811
monochromatic
#0D041A #1A0833 #351168 #501A9D #6B22D1

Accessibility & contrast

On white

14.67
#351168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#351168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351168
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351168#FFFFFF#000000##FFFFFF
##3511681.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#262A3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351168;
/* rgb */ color: rgb(53, 17, 104);
/* oklch */ color: oklch(29.5% 0.138 295.2);
Tailwind
colors: {
  custom: {
    50: '#735494',
    500: '#351168',
    950: '#000000',
  },
}
SCSS
$custom: #351168;
$custom-light: #735494;
$custom-dark: #000000;
JSON
{
  "hex": "#351168",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 264.828,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29533,
    "c": 0.13794,
    "h": 295.2
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#351168
secondary
#74A035
accent
#EF39A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351168

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

Preview Lab → · Contrast checker → · Palette generator →

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