#351254#351254

#351254 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.113 H 304.0°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#351254
RGBrgb(53, 18, 84)
HSLhsl(272, 65%, 20%)
HSVhsv(272, 79%, 33%)
CMYKcmyk(36.9%, 78.6%, 0%, 67.1%)
CIE-LABlab(14.57, 31.11, -33.00)
CIE-LCHlch(14.57, 45.35, 313.31°)
OKLaboklab(27.74% 0.0634 -0.0939)
OKLCHoklch(27.74% 0.113 304)
XYZxyz(3.2844, 1.8296, 8.5659)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351254 #315412
analogous
#141254 #351254 #541252
triadic
#351254 #543512 #125435
tetradic
#351254 #541412 #315412 #125254
square
#351254 #541412 #315412 #125254
split-complementary
#351254 #525412 #125414
monochromatic
#100519 #150722 #351254 #551D86 #7528B9

Accessibility & contrast

On white

15.37
#351254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351254
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351254#FFFFFF#000000##FFFFFF
##3512541.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351254;
/* rgb */ color: rgb(53, 18, 84);
/* oklch */ color: oklch(27.7% 0.113 304.0);
Tailwind
colors: {
  custom: {
    50: '#705385',
    500: '#351254',
    950: '#000000',
  },
}
SCSS
$custom: #351254;
$custom-light: #705385;
$custom-dark: #000000;
JSON
{
  "hex": "#351254",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 84
  },
  "hsl": {
    "h": 271.818,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.27738,
    "c": 0.11329,
    "h": 304
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#351254
secondary
#5E8D35
accent
#E8408F
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351254

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

Preview Lab → · Contrast checker → · Palette generator →

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