#2C0F57#2C0F57

#2C0F57 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.119 H 295.2°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#2C0F57
RGBrgb(44, 15, 87)
HSLhsl(264, 71%, 20%)
HSVhsv(264, 83%, 34%)
CMYKcmyk(49.4%, 82.8%, 0%, 65.9%)
CIE-LABlab(13.02, 31.69, -37.61)
CIE-LCHlch(13.02, 49.19, 310.12°)
OKLaboklab(26.45% 0.0507 -0.1078)
OKLCHoklch(26.45% 0.119 295.2)
XYZxyz(2.9294, 1.5652, 9.1627)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F57 #3A570F
analogous
#0F1657 #2C0F57 #500F57
triadic
#2C0F57 #572C0F #0F572C
tetradic
#2C0F57 #570F16 #3A570F #0F5750
square
#2C0F57 #570F16 #3A570F #0F5750
split-complementary
#2C0F57 #57500F #16570F
monochromatic
#0D051A #120623 #2C0F57 #46188B #6121BF

Accessibility & contrast

On white

15.99
#2C0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F57
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F57#FFFFFF#000000##FFFFFF
##2C0F571.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002259
Deuteranopia (green-blind)
#002056
Tritanopia (blue-blind)
#202332
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c0f57;
/* rgb */ color: rgb(44, 15, 87);
/* oklch */ color: oklch(26.4% 0.119 295.2);
Tailwind
colors: {
  custom: {
    50: '#6b5187',
    500: '#2c0f57',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f57;
$custom-light: #6b5187;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f57",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 264.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.26449,
    "c": 0.11915,
    "h": 295.2
  },
  "luminance": 0.01565
}

Semantic roles & 50–950 ramp

primary
#2C0F57
secondary
#6A9131
accent
#ED3AA5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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