#351253#351253

#351253 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.112 H 304.5°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#351253
RGBrgb(53, 18, 83)
HSLhsl(272, 64%, 20%)
HSVhsv(272, 78%, 33%)
CMYKcmyk(36.1%, 78.3%, 0%, 67.5%)
CIE-LABlab(14.48, 30.84, -32.46)
CIE-LCHlch(14.48, 44.77, 313.53°)
OKLaboklab(27.65% 0.0636 -0.0923)
OKLCHoklch(27.65% 0.112 304.5)
XYZxyz(3.2455, 1.8140, 8.3611)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351253 #305312
analogous
#151253 #351253 #531250
triadic
#351253 #533512 #125335
tetradic
#351253 #531512 #305312 #125053
square
#351253 #531512 #305312 #125053
split-complementary
#351253 #505312 #125315
monochromatic
#100519 #150721 #351253 #551D85 #7528B8

Accessibility & contrast

On white

15.41
#351253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#351253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351253
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351253#FFFFFF#000000##FFFFFF
##3512531.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#2F2231
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #351253;
/* rgb */ color: rgb(53, 18, 83);
/* oklch */ color: oklch(27.6% 0.112 304.5);
Tailwind
colors: {
  custom: {
    50: '#705384',
    500: '#351253',
    950: '#000000',
  },
}
SCSS
$custom: #351253;
$custom-light: #705384;
$custom-dark: #000000;
JSON
{
  "hex": "#351253",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 272.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27649,
    "c": 0.1121,
    "h": 304.5
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#351253
secondary
#5D8C35
accent
#E7408D
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351253

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

Preview Lab → · Contrast checker → · Palette generator →

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