#2C0F43#2C0F43

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

Color values

HEX#2C0F43
RGBrgb(44, 15, 67)
HSLhsl(273, 63%, 16%)
HSVhsv(273, 78%, 26%)
CMYKcmyk(34.3%, 77.6%, 0%, 73.7%)
CIE-LABlab(11.15, 25.94, -26.85)
CIE-LCHlch(11.15, 37.33, 314.02°)
OKLaboklab(24.55% 0.0556 -0.0762)
OKLCHoklch(24.55% 0.094 306.1)
XYZxyz(2.2224, 1.2824, 5.4395)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F43 #26430F
analogous
#120F43 #2C0F43 #430F40
triadic
#2C0F43 #432C0F #0F432C
tetradic
#2C0F43 #43120F #26430F #0F4043
square
#2C0F43 #43120F #26430F #0F4043
split-complementary
#2C0F43 #40430F #0F4312
monochromatic
#100619 #100619 #2C0F43 #4D1A75 #6E25A7

Accessibility & contrast

On white

16.71
#2C0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F43
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F43#FFFFFF#000000##FFFFFF
##2C0F431.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D45
Deuteranopia (green-blind)
#021E42
Tritanopia (blue-blind)
#281B27
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c0f43;
/* rgb */ color: rgb(44, 15, 67);
/* oklch */ color: oklch(24.6% 0.094 306.1);
Tailwind
colors: {
  custom: {
    50: '#685077',
    500: '#2c0f43',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f43;
$custom-light: #685077;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f43",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 273.462,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24551,
    "c": 0.09431,
    "h": 306.1
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#2C0F43
secondary
#527D30
accent
#E6418A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #2C0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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