#331453#331453

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

Color values

HEX#331453
RGBrgb(51, 20, 83)
HSLhsl(270, 61%, 20%)
HSVhsv(270, 76%, 33%)
CMYKcmyk(38.6%, 75.9%, 0%, 67.5%)
CIE-LABlab(14.56, 29.33, -32.34)
CIE-LCHlch(14.56, 43.66, 312.20°)
OKLaboklab(27.64% 0.058 -0.0921)
OKLCHoklch(27.64% 0.109 302.2)
XYZxyz(3.1764, 1.8286, 8.3676)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331453 #345314
analogous
#141453 #331453 #521453
triadic
#331453 #533314 #145333
tetradic
#331453 #531414 #345314 #145352
square
#331453 #531414 #345314 #145352
split-complementary
#331453 #535214 #145314
monochromatic
#0F0619 #150822 #331453 #512084 #702CB6

Accessibility & contrast

On white

15.38
#331453 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331453
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331453#FFFFFF#000000##FFFFFF
##3314531.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331453;
/* rgb */ color: rgb(51, 20, 83);
/* oklch */ color: oklch(27.6% 0.109 302.2);
Tailwind
colors: {
  custom: {
    50: '#6e5484',
    500: '#331453',
    950: '#000000',
  },
}
SCSS
$custom: #331453;
$custom-light: #6e5484;
$custom-dark: #000000;
JSON
{
  "hex": "#331453",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 83
  },
  "hsl": {
    "h": 269.524,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27643,
    "c": 0.10883,
    "h": 302.2
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#331453
secondary
#628B38
accent
#E44495
background
#F6F5F8
surface
#ECE8EF
border
#C7C4CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #331453

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

Preview Lab → · Contrast checker → · Palette generator →

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