#331364#331364

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

Color values

HEX#331364
RGBrgb(51, 19, 100)
HSLhsl(264, 68%, 23%)
HSVhsv(264, 81%, 39%)
CMYKcmyk(49%, 81%, 0%, 60.8%)
CIE-LABlab(15.95, 34.71, -41.47)
CIE-LCHlch(15.95, 54.08, 309.93°)
OKLaboklab(29.11% 0.0549 -0.1189)
OKLCHoklch(29.11% 0.131 294.8)
XYZxyz(3.8977, 2.0895, 12.2521)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331364 #446413
analogous
#131B64 #331364 #5B1364
triadic
#331364 #643313 #136433
tetradic
#331364 #64131B #446413 #13645B
square
#331364 #64131B #446413 #13645B
split-complementary
#331364 #645B13 #1B6413
monochromatic
#0D051A #190931 #331364 #4D1D97 #6727CB

Accessibility & contrast

On white

14.81
#331364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331364
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331364#FFFFFF#000000##FFFFFF
##3313641.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#25293B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #331364;
/* rgb */ color: rgb(51, 19, 100);
/* oklch */ color: oklch(29.1% 0.131 294.8);
Tailwind
colors: {
  custom: {
    50: '#715591',
    500: '#331364',
    950: '#000000',
  },
}
SCSS
$custom: #331364;
$custom-light: #715591;
$custom-dark: #000000;
JSON
{
  "hex": "#331364",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 263.704,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29113,
    "c": 0.13094,
    "h": 294.8
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#331364
secondary
#749C37
accent
#EB3DA6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #331364

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

Preview Lab → · Contrast checker → · Palette generator →

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