#331069#331069

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

Color values

HEX#331069
RGBrgb(51, 16, 105)
HSLhsl(264, 74%, 24%)
HSVhsv(264, 85%, 41%)
CMYKcmyk(51.4%, 84.8%, 0%, 58.8%)
CIE-LABlab(15.97, 37.53, -44.72)
CIE-LCHlch(15.97, 58.38, 310.00°)
OKLaboklab(29.28% 0.0557 -0.1284)
OKLCHoklch(29.28% 0.14 293.5)
XYZxyz(4.0996, 2.0942, 13.5501)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331069 #466910
analogous
#101969 #331069 #5F1069
triadic
#331069 #693310 #106933
tetradic
#331069 #691019 #466910 #10695F
square
#331069 #691019 #466910 #10695F
split-complementary
#331069 #695F10 #196910
monochromatic
#0D041B #190834 #331069 #4D189E #6720D3

Accessibility & contrast

On white

14.80
#331069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331069
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331069#FFFFFF#000000##FFFFFF
##3310691.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#222A3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #331069;
/* rgb */ color: rgb(51, 16, 105);
/* oklch */ color: oklch(29.3% 0.140 293.5);
Tailwind
colors: {
  custom: {
    50: '#725495',
    500: '#331069',
    950: '#000000',
  },
}
SCSS
$custom: #331069;
$custom-light: #725495;
$custom-dark: #000000;
JSON
{
  "hex": "#331069",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 263.596,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29284,
    "c": 0.13997,
    "h": 293.5
  },
  "luminance": 0.02094
}

Semantic roles & 50–950 ramp

primary
#331069
secondary
#76A134
accent
#F038A8
background
#F7F5F9
surface
#EDE8F2
border
#C8C4CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #331069

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

Preview Lab → · Contrast checker → · Palette generator →

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