#331468#331468

#331468 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.135 H 293.1°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#331468
RGBrgb(51, 20, 104)
HSLhsl(262, 68%, 24%)
HSVhsv(262, 81%, 41%)
CMYKcmyk(51%, 80.8%, 0%, 59.2%)
CIE-LABlab(16.52, 35.37, -43.17)
CIE-LCHlch(16.52, 55.81, 309.33°)
OKLaboklab(29.63% 0.0528 -0.1239)
OKLCHoklch(29.63% 0.135 293.1)
XYZxyz(4.1134, 2.2035, 13.3026)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331468 #496814
analogous
#141F68 #331468 #5D1468
triadic
#331468 #683314 #146833
tetradic
#331468 #68141F #496814 #14685D
square
#331468 #68141F #496814 #14685D
split-complementary
#331468 #685D14 #1F6814
monochromatic
#0D051A #1A0A35 #331468 #4C1E9B #6528CF

Accessibility & contrast

On white

14.58
#331468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331468
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331468#FFFFFF#000000##FFFFFF
##3314681.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#222B3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #331468;
/* rgb */ color: rgb(51, 20, 104);
/* oklch */ color: oklch(29.6% 0.135 293.1);
Tailwind
colors: {
  custom: {
    50: '#715594',
    500: '#331468',
    950: '#000000',
  },
}
SCSS
$custom: #331468;
$custom-light: #715594;
$custom-dark: #000000;
JSON
{
  "hex": "#331468",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 262.143,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29634,
    "c": 0.13465,
    "h": 293.1
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#331468
secondary
#799F39
accent
#EB3DAB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #331468

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

Preview Lab → · Contrast checker → · Palette generator →

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