#331763#331763

#331763 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.125 H 294.2°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#331763
RGBrgb(51, 23, 99)
HSLhsl(262, 62%, 24%)
HSVhsv(262, 77%, 39%)
CMYKcmyk(48.5%, 76.8%, 0%, 61.2%)
CIE-LABlab(16.59, 32.33, -39.76)
CIE-LCHlch(16.59, 51.25, 309.11°)
OKLaboklab(29.53% 0.0513 -0.1139)
OKLCHoklch(29.53% 0.125 294.2)
XYZxyz(3.9232, 2.2173, 12.0232)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331763 #476317
analogous
#172163 #331763 #591763
triadic
#331763 #633317 #176333
tetradic
#331763 #631721 #476317 #176359
square
#331763 #631721 #476317 #176359
split-complementary
#331763 #635917 #216317
monochromatic
#0D0619 #190B31 #331763 #4D2395 #662EC6

Accessibility & contrast

On white

14.55
#331763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#331763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331763
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331763#FFFFFF#000000##FFFFFF
##3317631.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#252B3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #331763;
/* rgb */ color: rgb(51, 23, 99);
/* oklch */ color: oklch(29.5% 0.125 294.2);
Tailwind
colors: {
  custom: {
    50: '#705790',
    500: '#331763',
    950: '#000000',
  },
}
SCSS
$custom: #331763;
$custom-light: #705790;
$custom-dark: #000000;
JSON
{
  "hex": "#331763",
  "rgb": {
    "r": 51,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 262.105,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29533,
    "c": 0.12492,
    "h": 294.2
  },
  "luminance": 0.02217
}

Semantic roles & 50–950 ramp

primary
#331763
secondary
#779A3C
accent
#E542A9
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #331763

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

Preview Lab → · Contrast checker → · Palette generator →

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