#2C1067#2C1067

#2C1067 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.138 H 288.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#2C1067
RGBrgb(44, 16, 103)
HSLhsl(259, 73%, 23%)
HSVhsv(259, 84%, 40%)
CMYKcmyk(57.3%, 84.5%, 0%, 59.6%)
CIE-LABlab(14.87, 35.95, -45.25)
CIE-LCHlch(14.87, 57.79, 308.46°)
OKLaboklab(28.25% 0.0445 -0.1302)
OKLCHoklch(28.25% 0.138 288.9)
XYZxyz(3.6715, 1.8851, 12.9997)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1067 #4B6710
analogous
#102067 #2C1067 #571067
triadic
#2C1067 #672C10 #10672C
tetradic
#2C1067 #671020 #4B6710 #106757
square
#2C1067 #671020 #4B6710 #106757
split-complementary
#2C1067 #675710 #206710
monochromatic
#0B041A #150832 #2C1067 #43189C #5920D1

Accessibility & contrast

On white

15.25
#2C1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2C1067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1067
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1067#FFFFFF#000000##FFFFFF
##2C10671.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#142A3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c1067;
/* rgb */ color: rgb(44, 16, 103);
/* oklch */ color: oklch(28.3% 0.138 288.9);
Tailwind
colors: {
  custom: {
    50: '#6d5393',
    500: '#2c1067',
    950: '#000000',
  },
}
SCSS
$custom: #2c1067;
$custom-light: #6d5393;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1067",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 259.31,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28253,
    "c": 0.13758,
    "h": 288.9
  },
  "luminance": 0.01885
}

Semantic roles & 50–950 ramp

primary
#2C1067
secondary
#7D9F33
accent
#F038B5
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#08020D
muted
#7A787E

Preview Lab

Preview with #2C1067

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

Preview Lab → · Contrast checker → · Palette generator →

#2C1067 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva