#2C1066#2C1066

#2C1066 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.136 H 289.2°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#2C1066
RGBrgb(44, 16, 102)
HSLhsl(260, 73%, 23%)
HSVhsv(260, 84%, 40%)
CMYKcmyk(56.9%, 84.3%, 0%, 60%)
CIE-LABlab(14.76, 35.65, -44.77)
CIE-LCHlch(14.76, 57.23, 308.53°)
OKLaboklab(28.14% 0.0449 -0.1288)
OKLCHoklch(28.14% 0.136 289.2)
XYZxyz(3.6216, 1.8652, 12.7370)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1066 #4A6610
analogous
#101F66 #2C1066 #571066
triadic
#2C1066 #662C10 #10662C
tetradic
#2C1066 #66101F #4A6610 #106657
square
#2C1066 #66101F #4A6610 #106657
split-complementary
#2C1066 #665710 #1F6610
monochromatic
#0B041A #150831 #2C1066 #43189B #5A21D0

Accessibility & contrast

On white

15.29
#2C1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2C1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1066
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1066#FFFFFF#000000##FFFFFF
##2C10661.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#15293B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2c1066;
/* rgb */ color: rgb(44, 16, 102);
/* oklch */ color: oklch(28.1% 0.136 289.2);
Tailwind
colors: {
  custom: {
    50: '#6d5293',
    500: '#2c1066',
    950: '#000000',
  },
}
SCSS
$custom: #2c1066;
$custom-light: #6d5293;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1066",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 259.535,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28145,
    "c": 0.13638,
    "h": 289.2
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#2C1066
secondary
#7C9E33
accent
#F038B4
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#08020D
muted
#7A787E

Preview Lab

Preview with #2C1066

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

Preview Lab → · Contrast checker → · Palette generator →

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