#2C1058#2C1058

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

Color values

HEX#2C1058
RGBrgb(44, 16, 88)
HSLhsl(263, 69%, 20%)
HSVhsv(263, 82%, 35%)
CMYKcmyk(50%, 81.8%, 0%, 65.5%)
CIE-LABlab(13.29, 31.48, -37.84)
CIE-LCHlch(13.29, 49.22, 309.76°)
OKLaboklab(26.67% 0.0495 -0.1085)
OKLCHoklch(26.67% 0.119 294.5)
XYZxyz(2.9850, 1.6106, 9.3842)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1058 #3C5810
analogous
#101858 #2C1058 #501058
triadic
#2C1058 #582C10 #10582C
tetradic
#2C1058 #581018 #3C5810 #105850
square
#2C1058 #581018 #3C5810 #105850
split-complementary
#2C1058 #585010 #185810
monochromatic
#0D051A #120724 #2C1058 #46198C #6023C0

Accessibility & contrast

On white

15.88
#2C1058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2C1058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1058
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1058#FFFFFF#000000##FFFFFF
##2C10581.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#002157
Tritanopia (blue-blind)
#1F2433
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2c1058;
/* rgb */ color: rgb(44, 16, 88);
/* oklch */ color: oklch(26.7% 0.119 294.5);
Tailwind
colors: {
  custom: {
    50: '#6b5288',
    500: '#2c1058',
    950: '#000000',
  },
}
SCSS
$custom: #2c1058;
$custom-light: #6b5288;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1058",
  "rgb": {
    "r": 44,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 263.333,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26674,
    "c": 0.11923,
    "h": 294.5
  },
  "luminance": 0.01611
}

Semantic roles & 50–950 ramp

primary
#2C1058
secondary
#6C9132
accent
#EC3CA7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C1058

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

Preview Lab → · Contrast checker → · Palette generator →

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