#351372#351372

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

Color values

HEX#351372
RGBrgb(53, 19, 114)
HSLhsl(261, 71%, 26%)
HSVhsv(261, 83%, 45%)
CMYKcmyk(53.5%, 83.3%, 0%, 55.3%)
CIE-LABlab(17.63, 39.04, -47.85)
CIE-LCHlch(17.63, 61.76, 309.21°)
OKLaboklab(30.78% 0.0536 -0.1375)
OKLCHoklch(30.78% 0.148 291.3)
XYZxyz(4.7375, 2.4373, 16.1372)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351372 #507213
analogous
#132072 #351372 #641372
triadic
#351372 #723513 #137235
tetradic
#351372 #721320 #507213 #137264
square
#351372 #721320 #507213 #137264
split-complementary
#351372 #726413 #207213
monochromatic
#0C041A #1D0A3E #351372 #4D1CA6 #6625DB

Accessibility & contrast

On white

14.12
#351372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351372
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351372#FFFFFF#000000##FFFFFF
##3513721.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#202F43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351372;
/* rgb */ color: rgb(53, 19, 114);
/* oklch */ color: oklch(30.8% 0.148 291.3);
Tailwind
colors: {
  custom: {
    50: '#74569c',
    500: '#351372',
    950: '#000000',
  },
}
SCSS
$custom: #351372;
$custom-light: #74569c;
$custom-dark: #000000;
JSON
{
  "hex": "#351372",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 261.474,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30777,
    "c": 0.1476,
    "h": 291.3
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#351372
secondary
#80A938
accent
#EE3AAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351372

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

Preview Lab → · Contrast checker → · Palette generator →

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