#331463#331463

#331463 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.129 H 295.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#331463
RGBrgb(51, 20, 99)
HSLhsl(264, 66%, 23%)
HSVhsv(264, 80%, 39%)
CMYKcmyk(48.5%, 79.8%, 0%, 61.2%)
CIE-LABlab(16.03, 33.91, -40.68)
CIE-LCHlch(16.03, 52.96, 309.82°)
OKLaboklab(29.14% 0.0543 -0.1166)
OKLCHoklch(29.14% 0.129 295)
XYZxyz(3.8669, 2.1049, 12.0045)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331463 #446314
analogous
#141C63 #331463 #5A1463
triadic
#331463 #633314 #146333
tetradic
#331463 #63141C #446314 #14635A
square
#331463 #63141C #446314 #14635A
split-complementary
#331463 #635A14 #1C6314
monochromatic
#0D0519 #190A30 #331463 #4D1E96 #6729C9

Accessibility & contrast

On white

14.78
#331463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#331463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331463
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331463#FFFFFF#000000##FFFFFF
##3314631.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002761
Tritanopia (blue-blind)
#25293A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #331463;
/* rgb */ color: rgb(51, 20, 99);
/* oklch */ color: oklch(29.1% 0.129 295.0);
Tailwind
colors: {
  custom: {
    50: '#705590',
    500: '#331463',
    950: '#000000',
  },
}
SCSS
$custom: #331463;
$custom-light: #705590;
$custom-dark: #000000;
JSON
{
  "hex": "#331463",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 263.544,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29137,
    "c": 0.12858,
    "h": 295
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#331463
secondary
#749A38
accent
#E93EA6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #331463

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

Preview Lab → · Contrast checker → · Palette generator →

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