#2C0C55#2C0C55

#2C0C55 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.120 H 296.8°. Best body text is #FFFFFF at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#2C0C55
RGBrgb(44, 12, 85)
HSLhsl(266, 75%, 19%)
HSVhsv(266, 86%, 33%)
CMYKcmyk(48.2%, 85.9%, 0%, 66.7%)
CIE-LABlab(12.31, 32.55, -37.41)
CIE-LCHlch(12.31, 49.59, 311.03°)
OKLaboklab(25.9% 0.0541 -0.1072)
OKLCHoklch(25.9% 0.12 296.8)
XYZxyz(2.8094, 1.4542, 8.7252)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0C55 #35550C
analogous
#0C1155 #2C0C55 #510C55
triadic
#2C0C55 #552C0C #0C552C
tetradic
#2C0C55 #550C11 #35550C #0C5551
square
#2C0C55 #550C11 #35550C #0C5551
split-complementary
#2C0C55 #55510C #11550C
monochromatic
#0E041B #10041F #2C0C55 #48148B #641BC0

Accessibility & contrast

On white

16.27
#2C0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2C0C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0C55
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0C55#FFFFFF#000000##FFFFFF
##2C0C551.0016.271.2916.27
#FFFFFF16.271.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#212131
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c0c55;
/* rgb */ color: rgb(44, 12, 85);
/* oklch */ color: oklch(25.9% 0.120 296.8);
Tailwind
colors: {
  custom: {
    50: '#6a4f86',
    500: '#2c0c55',
    950: '#000000',
  },
}
SCSS
$custom: #2c0c55;
$custom-light: #6a4f86;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0c55",
  "rgb": {
    "r": 44,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 266.301,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25896,
    "c": 0.12005,
    "h": 296.8
  },
  "luminance": 0.01454
}

Semantic roles & 50–950 ramp

primary
#2C0C55
secondary
#65902D
accent
#F2369F
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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