#351283#351283

#351283 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.168 H 286.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#351283
RGBrgb(53, 18, 131)
HSLhsl(259, 76%, 29%)
HSVhsv(259, 86%, 51%)
CMYKcmyk(59.5%, 86.3%, 0%, 48.6%)
CIE-LABlab(19.34, 44.29, -55.91)
CIE-LCHlch(19.34, 71.33, 308.39°)
OKLaboklab(32.51% 0.0479 -0.161)
OKLCHoklch(32.51% 0.168 286.6)
XYZxyz(5.7800, 2.8279, 21.7096)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351283 #608312
analogous
#122883 #351283 #6E1283
triadic
#351283 #833512 #128335
tetradic
#351283 #831228 #608312 #12836E
square
#351283 #831228 #608312 #12836E
split-complementary
#351283 #836E12 #288312
monochromatic
#0B041B #1F0B4D #351283 #4B19B9 #652DE2

Accessibility & contrast

On white

13.41
#351283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#351283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351283
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351283#FFFFFF#000000##FFFFFF
##3512831.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#0C364D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351283;
/* rgb */ color: rgb(53, 18, 131);
/* oklch */ color: oklch(32.5% 0.168 286.6);
Tailwind
colors: {
  custom: {
    50: '#7757a8',
    500: '#351283',
    950: '#000000',
  },
}
SCSS
$custom: #351283;
$custom-light: #7757a8;
$custom-dark: #000000;
JSON
{
  "hex": "#351283",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 258.584,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32508,
    "c": 0.16801,
    "h": 286.6
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#351283
secondary
#91B838
accent
#F235B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #351283

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

Preview Lab → · Contrast checker → · Palette generator →

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