#2C0E50#2C0E50

#2C0E50 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.112 H 298.8°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#2C0E50
RGBrgb(44, 14, 80)
HSLhsl(267, 70%, 18%)
HSVhsv(267, 83%, 31%)
CMYKcmyk(45%, 82.5%, 0%, 68.6%)
CIE-LABlab(12.15, 30.16, -34.26)
CIE-LCHlch(12.15, 45.65, 311.36°)
OKLaboklab(25.63% 0.0538 -0.098)
OKLCHoklch(25.63% 0.112 298.8)
XYZxyz(2.6433, 1.4287, 7.7244)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E50 #32500E
analogous
#0E1150 #2C0E50 #4D0E50
triadic
#2C0E50 #502C0E #0E502C
tetradic
#2C0E50 #500E11 #32500E #0E504D
square
#2C0E50 #500E11 #32500E #0E504D
split-complementary
#2C0E50 #504D0E #11500E
monochromatic
#0E051A #0F051C #2C0E50 #491784 #6520B8

Accessibility & contrast

On white

16.33
#2C0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2C0E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0E50
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E50#FFFFFF#000000##FFFFFF
##2C0E501.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#231F2E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c0e50;
/* rgb */ color: rgb(44, 14, 80);
/* oklch */ color: oklch(25.6% 0.112 298.8);
Tailwind
colors: {
  custom: {
    50: '#6a5082',
    500: '#2c0e50',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e50;
$custom-light: #6a5082;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e50",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 267.273,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25626,
    "c": 0.11177,
    "h": 298.8
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#2C0E50
secondary
#618B2F
accent
#ED3B9C
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2C0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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