#2C1069#2C1069

#2C1069 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.140 H 288.2°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#2C1069
RGBrgb(44, 16, 105)
HSLhsl(259, 74%, 24%)
HSVhsv(259, 85%, 41%)
CMYKcmyk(58.1%, 84.8%, 0%, 58.8%)
CIE-LABlab(15.09, 36.54, -46.21)
CIE-LCHlch(15.09, 58.91, 308.34°)
OKLaboklab(28.47% 0.0438 -0.133)
OKLCHoklch(28.47% 0.14 288.2)
XYZxyz(3.7730, 1.9258, 13.5348)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1069 #4D6910
analogous
#102069 #2C1069 #581069
triadic
#2C1069 #692C10 #10692C
tetradic
#2C1069 #691020 #4D6910 #106958
square
#2C1069 #691020 #4D6910 #106958
split-complementary
#2C1069 #695810 #206910
monochromatic
#0B041B #160834 #2C1069 #42189E #5920D3

Accessibility & contrast

On white

15.16
#2C1069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2C1069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1069
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1069#FFFFFF#000000##FFFFFF
##2C10691.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#122B3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2c1069;
/* rgb */ color: rgb(44, 16, 105);
/* oklch */ color: oklch(28.5% 0.140 288.2);
Tailwind
colors: {
  custom: {
    50: '#6e5395',
    500: '#2c1069',
    950: '#000000',
  },
}
SCSS
$custom: #2c1069;
$custom-light: #6e5395;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1069",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 258.876,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28472,
    "c": 0.13999,
    "h": 288.2
  },
  "luminance": 0.01926
}

Semantic roles & 50–950 ramp

primary
#2C1069
secondary
#7FA134
accent
#F038B6
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08020D
muted
#7B787E

Preview Lab

Preview with #2C1069

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

Preview Lab → · Contrast checker → · Palette generator →

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