#2C0F55#2C0F55

#2C0F55 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.117 H 296.1°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#2C0F55
RGBrgb(44, 15, 85)
HSLhsl(265, 70%, 20%)
HSVhsv(265, 82%, 33%)
CMYKcmyk(48.2%, 82.4%, 0%, 66.7%)
CIE-LABlab(12.82, 31.11, -36.59)
CIE-LCHlch(12.82, 48.02, 310.37°)
OKLaboklab(26.25% 0.0514 -0.1048)
OKLCHoklch(26.25% 0.117 296.1)
XYZxyz(2.8488, 1.5329, 8.7384)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F55 #38550F
analogous
#0F1555 #2C0F55 #4F0F55
triadic
#2C0F55 #552C0F #0F552C
tetradic
#2C0F55 #550F15 #38550F #0F554F
square
#2C0F55 #550F15 #38550F #0F554F
split-complementary
#2C0F55 #554F0F #15550F
monochromatic
#0D051A #110621 #2C0F55 #471889 #6221BD

Accessibility & contrast

On white

16.07
#2C0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2C0F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F55
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F55#FFFFFF#000000##FFFFFF
##2C0F551.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#212231
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c0f55;
/* rgb */ color: rgb(44, 15, 85);
/* oklch */ color: oklch(26.2% 0.117 296.1);
Tailwind
colors: {
  custom: {
    50: '#6a5186',
    500: '#2c0f55',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f55;
$custom-light: #6a5186;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f55",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 264.857,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26247,
    "c": 0.11671,
    "h": 296.1
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#2C0F55
secondary
#688F31
accent
#ED3BA3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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