#331460#331460

#331460 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.125 H 296.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#331460
RGBrgb(51, 20, 96)
HSLhsl(264, 66%, 23%)
HSVhsv(264, 79%, 38%)
CMYKcmyk(46.9%, 79.2%, 0%, 62.4%)
CIE-LABlab(15.74, 33.04, -39.16)
CIE-LCHlch(15.74, 51.24, 310.16°)
OKLaboklab(28.85% 0.0551 -0.1121)
OKLCHoklch(28.85% 0.125 296.2)
XYZxyz(3.7262, 2.0486, 11.2632)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331460 #416014
analogous
#141B60 #331460 #591460
triadic
#331460 #603314 #146033
tetradic
#331460 #60141B #416014 #146059
square
#331460 #60141B #416014 #146059
split-complementary
#331460 #605914 #1B6014
monochromatic
#0D0519 #18092D #331460 #4E1F93 #6929C5

Accessibility & contrast

On white

14.90
#331460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#331460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331460
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331460#FFFFFF#000000##FFFFFF
##3314601.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#272839
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #331460;
/* rgb */ color: rgb(51, 20, 96);
/* oklch */ color: oklch(28.8% 0.125 296.2);
Tailwind
colors: {
  custom: {
    50: '#70558e',
    500: '#331460',
    950: '#000000',
  },
}
SCSS
$custom: #331460;
$custom-light: #70558e;
$custom-dark: #000000;
JSON
{
  "hex": "#331460",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 264.474,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28846,
    "c": 0.12492,
    "h": 296.2
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#331460
secondary
#719838
accent
#E83FA3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #331460

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

Preview Lab → · Contrast checker → · Palette generator →

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