#351452#351452

#351452 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.108 H 304.6°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#351452
RGBrgb(53, 20, 82)
HSLhsl(272, 61%, 20%)
HSVhsv(272, 76%, 32%)
CMYKcmyk(35.4%, 75.6%, 0%, 67.8%)
CIE-LABlab(14.77, 29.51, -31.31)
CIE-LCHlch(14.77, 43.02, 313.31°)
OKLaboklab(27.83% 0.0614 -0.089)
OKLCHoklch(27.83% 0.108 304.6)
XYZxyz(3.2410, 1.8664, 8.1705)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351452 #315214
analogous
#161452 #351452 #521450
triadic
#351452 #523514 #145235
tetradic
#351452 #521614 #315214 #145052
square
#351452 #521614 #315214 #145052
split-complementary
#351452 #505214 #145216
monochromatic
#100619 #150821 #351452 #552083 #752CB4

Accessibility & contrast

On white

15.29
#351452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#351452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351452
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351452#FFFFFF#000000##FFFFFF
##3514521.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#302231
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #351452;
/* rgb */ color: rgb(53, 20, 82);
/* oklch */ color: oklch(27.8% 0.108 304.6);
Tailwind
colors: {
  custom: {
    50: '#6f5483',
    500: '#351452',
    950: '#000000',
  },
}
SCSS
$custom: #351452;
$custom-light: #6f5483;
$custom-dark: #000000;
JSON
{
  "hex": "#351452",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 271.935,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.27829,
    "c": 0.10809,
    "h": 304.6
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#351452
secondary
#5E8A38
accent
#E4448F
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351452

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

Preview Lab → · Contrast checker → · Palette generator →

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