#2C0E57#2C0E57

#2C0E57 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.120 H 295.4°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#2C0E57
RGBrgb(44, 14, 87)
HSLhsl(265, 72%, 20%)
HSVhsv(265, 84%, 34%)
CMYKcmyk(49.4%, 83.9%, 0%, 65.9%)
CIE-LABlab(12.85, 32.19, -37.90)
CIE-LCHlch(12.85, 49.72, 310.34°)
OKLaboklab(26.33% 0.0517 -0.1086)
OKLCHoklch(26.33% 0.12 295.4)
XYZxyz(2.9156, 1.5376, 9.1581)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0E57 #39570E
analogous
#0E1457 #2C0E57 #510E57
triadic
#2C0E57 #572C0E #0E572C
tetradic
#2C0E57 #570E14 #39570E #0E5751
square
#2C0E57 #570E14 #39570E #0E5751
split-complementary
#2C0E57 #57510E #14570E
monochromatic
#0D041A #110622 #2C0E57 #47168C #611FC0

Accessibility & contrast

On white

16.06
#2C0E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0E57
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0E57#FFFFFF#000000##FFFFFF
##2C0E571.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0e57;
/* rgb */ color: rgb(44, 14, 87);
/* oklch */ color: oklch(26.3% 0.120 295.4);
Tailwind
colors: {
  custom: {
    50: '#6b5087',
    500: '#2c0e57',
    950: '#000000',
  },
}
SCSS
$custom: #2c0e57;
$custom-light: #6b5087;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0e57",
  "rgb": {
    "r": 44,
    "g": 14,
    "b": 87
  },
  "hsl": {
    "h": 264.658,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26329,
    "c": 0.12028,
    "h": 295.4
  },
  "luminance": 0.01538
}

Semantic roles & 50–950 ramp

primary
#2C0E57
secondary
#699130
accent
#EF39A4
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0E57

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

Preview Lab → · Contrast checker → · Palette generator →

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