#351273#351273

#351273 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.150 H 291.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#351273
RGBrgb(53, 18, 115)
HSLhsl(262, 73%, 26%)
HSVhsv(262, 84%, 45%)
CMYKcmyk(53.9%, 84.3%, 0%, 54.9%)
CIE-LABlab(17.59, 39.77, -48.58)
CIE-LCHlch(17.59, 62.78, 309.31°)
OKLaboklab(30.78% 0.054 -0.1396)
OKLCHoklch(30.78% 0.15 291.1)
XYZxyz(4.7781, 2.4271, 16.4330)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351273 #507312
analogous
#122073 #351273 #651273
triadic
#351273 #733512 #127335
tetradic
#351273 #731220 #507312 #127365
square
#351273 #731220 #507312 #127365
split-complementary
#351273 #736512 #207312
monochromatic
#0C041A #1D0A3E #351273 #4D1AA8 #6623DD

Accessibility & contrast

On white

14.14
#351273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351273
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351273#FFFFFF#000000##FFFFFF
##3512731.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#1F2F43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351273;
/* rgb */ color: rgb(53, 18, 115);
/* oklch */ color: oklch(30.8% 0.150 291.1);
Tailwind
colors: {
  custom: {
    50: '#74559c',
    500: '#351273',
    950: '#000000',
  },
}
SCSS
$custom: #351273;
$custom-light: #74559c;
$custom-dark: #000000;
JSON
{
  "hex": "#351273",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 261.649,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30776,
    "c": 0.1497,
    "h": 291.1
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#351273
secondary
#80AA37
accent
#F038AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351273

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

Preview Lab → · Contrast checker → · Palette generator →

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