#2C0F44#2C0F44

#2C0F44 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.096 H 305.5°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#2C0F44
RGBrgb(44, 15, 68)
HSLhsl(273, 64%, 16%)
HSVhsv(273, 78%, 27%)
CMYKcmyk(35.3%, 77.9%, 0%, 73.3%)
CIE-LABlab(11.24, 26.22, -27.41)
CIE-LCHlch(11.24, 37.93, 313.73°)
OKLaboklab(24.64% 0.0554 -0.0778)
OKLCHoklch(24.64% 0.096 305.5)
XYZxyz(2.2527, 1.2945, 5.5989)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F44 #27440F
analogous
#120F44 #2C0F44 #440F42
triadic
#2C0F44 #442C0F #0F442C
tetradic
#2C0F44 #44120F #27440F #0F4244
square
#2C0F44 #44120F #27440F #0F4244
split-complementary
#2C0F44 #42440F #0F4412
monochromatic
#100619 #100619 #2C0F44 #4C1A76 #6D25A8

Accessibility & contrast

On white

16.68
#2C0F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2C0F44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F44
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F44#FFFFFF#000000##FFFFFF
##2C0F441.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#011E43
Tritanopia (blue-blind)
#281B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c0f44;
/* rgb */ color: rgb(44, 15, 68);
/* oklch */ color: oklch(24.6% 0.096 305.5);
Tailwind
colors: {
  custom: {
    50: '#685078',
    500: '#2c0f44',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f44;
$custom-light: #685078;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f44",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 272.83,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24638,
    "c": 0.09556,
    "h": 305.5
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#2C0F44
secondary
#547E30
accent
#E7418C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0F44

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

Preview Lab → · Contrast checker → · Palette generator →

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