#351260#351260

#351260 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.128 H 298.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#351260
RGBrgb(53, 18, 96)
HSLhsl(267, 68%, 22%)
HSVhsv(267, 81%, 38%)
CMYKcmyk(44.8%, 81.3%, 0%, 62.4%)
CIE-LABlab(15.66, 34.41, -39.27)
CIE-LCHlch(15.66, 52.22, 311.23°)
OKLaboklab(28.85% 0.0603 -0.1123)
OKLCHoklch(28.85% 0.128 298.2)
XYZxyz(3.7953, 2.0340, 11.2567)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351260 #3D6012
analogous
#121660 #351260 #5C1260
triadic
#351260 #603512 #126035
tetradic
#351260 #601216 #3D6012 #12605C
square
#351260 #601216 #3D6012 #12605C
split-complementary
#351260 #605C12 #166012
monochromatic
#0E051A #19082C #351260 #511C94 #6E25C7

Accessibility & contrast

On white

14.93
#351260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#351260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351260
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351260#FFFFFF#000000##FFFFFF
##3512601.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#2A2738
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351260;
/* rgb */ color: rgb(53, 18, 96);
/* oklch */ color: oklch(28.9% 0.128 298.2);
Tailwind
colors: {
  custom: {
    50: '#71548e',
    500: '#351260',
    950: '#000000',
  },
}
SCSS
$custom: #351260;
$custom-light: #71548e;
$custom-dark: #000000;
JSON
{
  "hex": "#351260",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 266.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28854,
    "c": 0.12752,
    "h": 298.2
  },
  "luminance": 0.02034
}

Semantic roles & 50–950 ramp

primary
#351260
secondary
#6C9836
accent
#EB3D9D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351260

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

Preview Lab → · Contrast checker → · Palette generator →

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