#2C0E55#2C0E55

#2C0E55 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.118 H 296.3°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#2C0E55
RGBrgb(44, 14, 85)
HSLhsl(265, 72%, 19%)
HSVhsv(265, 84%, 33%)
CMYKcmyk(48.2%, 83.5%, 0%, 66.7%)
CIE-LABlab(12.64, 31.60, -36.87)
CIE-LCHlch(12.64, 48.56, 310.60°)
OKLaboklab(26.13% 0.0523 -0.1056)
OKLCHoklch(26.13% 0.118 296.3)
XYZxyz(2.8350, 1.5054, 8.7338)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E55 #37550E
analogous
#0E1455 #2C0E55 #500E55
triadic
#2C0E55 #552C0E #0E552C
tetradic
#2C0E55 #550E14 #37550E #0E5550
square
#2C0E55 #550E14 #37550E #0E5550
split-complementary
#2C0E55 #55500E #14550E
monochromatic
#0E041A #110520 #2C0E55 #47178A #621FBE

Accessibility & contrast

On white

16.14
#2C0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2C0E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0E55
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E55#FFFFFF#000000##FFFFFF
##2C0E551.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#212131
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c0e55;
/* rgb */ color: rgb(44, 14, 85);
/* oklch */ color: oklch(26.1% 0.118 296.3);
Tailwind
colors: {
  custom: {
    50: '#6a5086',
    500: '#2c0e55',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e55;
$custom-light: #6a5086;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e55",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 265.352,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26125,
    "c": 0.11786,
    "h": 296.3
  },
  "luminance": 0.01505
}

Semantic roles & 50–950 ramp

primary
#2C0E55
secondary
#678F30
accent
#EE39A2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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