#2C0E5D#2C0E5D

#2C0E5D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 27.0% C 0.128 H 292.9°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#2C0E5D
RGBrgb(44, 14, 93)
HSLhsl(263, 74%, 21%)
HSVhsv(263, 85%, 36%)
CMYKcmyk(52.7%, 84.9%, 0%, 63.5%)
CIE-LABlab(13.47, 33.93, -40.91)
CIE-LCHlch(13.47, 53.15, 309.67°)
OKLaboklab(26.96% 0.0496 -0.1175)
OKLCHoklch(26.96% 0.128 292.9)
XYZxyz(3.1710, 1.6398, 10.5032)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E5D #3F5D0E
analogous
#0E175D #2C0E5D #530E5D
triadic
#2C0E5D #5D2C0E #0E5D2C
tetradic
#2C0E5D #5D0E17 #3F5D0E #0E5D53
square
#2C0E5D #5D0E17 #3F5D0E #0E5D53
split-complementary
#2C0E5D #5D530E #175D0E
monochromatic
#0D041B #130628 #2C0E5D #451692 #5E1EC7

Accessibility & contrast

On white

15.81
#2C0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2C0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0E5D
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E5D#FFFFFF#000000##FFFFFF
##2C0E5D1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#00215C
Tritanopia (blue-blind)
#1C2536
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c0e5d;
/* rgb */ color: rgb(44, 14, 93);
/* oklch */ color: oklch(27.0% 0.128 292.9);
Tailwind
colors: {
  custom: {
    50: '#6c518c',
    500: '#2c0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e5d;
$custom-light: #6c518c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e5d",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 262.785,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26955,
    "c": 0.12751,
    "h": 292.9
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#2C0E5D
secondary
#709730
accent
#F037AA
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2C0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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