#351268#351268

#351268 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.137 H 295.0°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#351268
RGBrgb(53, 18, 104)
HSLhsl(264, 70%, 24%)
HSVhsv(264, 83%, 41%)
CMYKcmyk(49%, 82.7%, 0%, 59.2%)
CIE-LABlab(16.45, 36.66, -43.28)
CIE-LCHlch(16.45, 56.72, 310.27°)
OKLaboklab(29.64% 0.0578 -0.1241)
OKLCHoklch(29.64% 0.137 295)
XYZxyz(4.1825, 2.1889, 13.2961)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351268 #456812
analogous
#121A68 #351268 #601268
triadic
#351268 #683512 #126835
tetradic
#351268 #68121A #456812 #126860
square
#351268 #68121A #456812 #126860
split-complementary
#351268 #686012 #1A6812
monochromatic
#0D051A #1A0934 #351268 #501B9C #6A24D0

Accessibility & contrast

On white

14.61
#351268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#351268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351268
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351268#FFFFFF#000000##FFFFFF
##3512681.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351268;
/* rgb */ color: rgb(53, 18, 104);
/* oklch */ color: oklch(29.6% 0.137 295.0);
Tailwind
colors: {
  custom: {
    50: '#735594',
    500: '#351268',
    950: '#000000',
  },
}
SCSS
$custom: #351268;
$custom-light: #735594;
$custom-dark: #000000;
JSON
{
  "hex": "#351268",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 264.419,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29642,
    "c": 0.13691,
    "h": 295
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#351268
secondary
#75A036
accent
#ED3BA5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351268

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

Preview Lab → · Contrast checker → · Palette generator →

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