#2C0F45#2C0F45

#2C0F45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.097 H 304.8°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#2C0F45
RGBrgb(44, 15, 69)
HSLhsl(272, 64%, 16%)
HSVhsv(272, 78%, 27%)
CMYKcmyk(36.2%, 78.3%, 0%, 72.9%)
CIE-LABlab(11.32, 26.50, -27.97)
CIE-LCHlch(11.32, 38.54, 313.45°)
OKLaboklab(24.73% 0.0553 -0.0795)
OKLCHoklch(24.73% 0.097 304.8)
XYZxyz(2.2835, 1.3068, 5.7610)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F45 #28450F
analogous
#110F45 #2C0F45 #450F43
triadic
#2C0F45 #452C0F #0F452C
tetradic
#2C0F45 #45110F #28450F #0F4345
square
#2C0F45 #45110F #28450F #0F4345
split-complementary
#2C0F45 #43450F #0F4511
monochromatic
#100519 #100519 #2C0F45 #4C1A77 #6C25AA

Accessibility & contrast

On white

16.65
#2C0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F45
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F45#FFFFFF#000000##FFFFFF
##2C0F451.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#271B28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c0f45;
/* rgb */ color: rgb(44, 15, 69);
/* oklch */ color: oklch(24.7% 0.097 304.8);
Tailwind
colors: {
  custom: {
    50: '#685079',
    500: '#2c0f45',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f45;
$custom-light: #685079;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f45",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 272.222,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24727,
    "c": 0.09682,
    "h": 304.8
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#2C0F45
secondary
#557F30
accent
#E7418E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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