#331465#331465

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

Color values

HEX#331465
RGBrgb(51, 20, 101)
HSLhsl(263, 67%, 24%)
HSVhsv(263, 80%, 40%)
CMYKcmyk(49.5%, 80.2%, 0%, 60.4%)
CIE-LABlab(16.22, 34.50, -41.68)
CIE-LCHlch(16.22, 54.11, 309.61°)
OKLaboklab(29.33% 0.0537 -0.1195)
OKLCHoklch(29.33% 0.131 294.2)
XYZxyz(3.9637, 2.1436, 12.5143)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331465 #466514
analogous
#141D65 #331465 #5B1465
triadic
#331465 #653314 #146533
tetradic
#331465 #65141D #466514 #14655B
square
#331465 #65141D #466514 #14655B
split-complementary
#331465 #655B14 #1D6514
monochromatic
#0D051A #190A32 #331465 #4D1E98 #6728CB

Accessibility & contrast

On white

14.70
#331465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#331465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331465
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331465#FFFFFF#000000##FFFFFF
##3314651.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002763
Tritanopia (blue-blind)
#242A3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #331465;
/* rgb */ color: rgb(51, 20, 101);
/* oklch */ color: oklch(29.3% 0.131 294.2);
Tailwind
colors: {
  custom: {
    50: '#715592',
    500: '#331465',
    950: '#000000',
  },
}
SCSS
$custom: #331465;
$custom-light: #715592;
$custom-dark: #000000;
JSON
{
  "hex": "#331465",
  "rgb": {
    "r": 51,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 262.963,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29334,
    "c": 0.13102,
    "h": 294.2
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#331465
secondary
#769C39
accent
#EA3EA8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #331465

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

Preview Lab → · Contrast checker → · Palette generator →

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