#351250#351250

#351250 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.109 H 306.2°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#351250
RGBrgb(53, 18, 80)
HSLhsl(274, 63%, 19%)
HSVhsv(274, 78%, 31%)
CMYKcmyk(33.7%, 77.5%, 0%, 68.6%)
CIE-LABlab(14.22, 30.03, -30.83)
CIE-LCHlch(14.22, 43.04, 314.25°)
OKLaboklab(27.39% 0.0641 -0.0875)
OKLCHoklch(27.39% 0.109 306.2)
XYZxyz(3.1322, 1.7687, 7.7643)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351250 #2D5012
analogous
#161250 #351250 #50124C
triadic
#351250 #503512 #125035
tetradic
#351250 #501612 #2D5012 #124C50
square
#351250 #501612 #2D5012 #124C50
split-complementary
#351250 #4C5012 #125016
monochromatic
#110619 #14071E #351250 #561D82 #7728B4

Accessibility & contrast

On white

15.51
#351250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#351250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351250
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351250#FFFFFF#000000##FFFFFF
##3512501.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002352
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#30202F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #351250;
/* rgb */ color: rgb(53, 18, 80);
/* oklch */ color: oklch(27.4% 0.109 306.2);
Tailwind
colors: {
  custom: {
    50: '#6f5382',
    500: '#351250',
    950: '#000000',
  },
}
SCSS
$custom: #351250;
$custom-light: #6f5382;
$custom-dark: #000000;
JSON
{
  "hex": "#351250",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 273.871,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27387,
    "c": 0.10851,
    "h": 306.2
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#351250
secondary
#598935
accent
#E64189
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #351250

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

Preview Lab → · Contrast checker → · Palette generator →

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