#2C0F58#2C0F58

#2C0F58 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.120 H 294.8°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#2C0F58
RGBrgb(44, 15, 88)
HSLhsl(264, 71%, 20%)
HSVhsv(264, 83%, 35%)
CMYKcmyk(50%, 83%, 0%, 65.5%)
CIE-LABlab(13.12, 31.99, -38.13)
CIE-LCHlch(13.12, 49.77, 310.00°)
OKLaboklab(26.55% 0.0504 -0.1093)
OKLCHoklch(26.55% 0.12 294.8)
XYZxyz(2.9705, 1.5816, 9.3794)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F58 #3B580F
analogous
#0F1658 #2C0F58 #510F58
triadic
#2C0F58 #582C0F #0F582C
tetradic
#2C0F58 #580F16 #3B580F #0F5851
square
#2C0F58 #580F16 #3B580F #0F5851
split-complementary
#2C0F58 #58510F #16580F
monochromatic
#0D041A #120624 #2C0F58 #46188C #6021C1

Accessibility & contrast

On white

15.95
#2C0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0F58
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F58#FFFFFF#000000##FFFFFF
##2C0F581.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c0f58;
/* rgb */ color: rgb(44, 15, 88);
/* oklch */ color: oklch(26.6% 0.120 294.8);
Tailwind
colors: {
  custom: {
    50: '#6b5188',
    500: '#2c0f58',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f58;
$custom-light: #6b5188;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f58",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 263.836,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26551,
    "c": 0.12038,
    "h": 294.8
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#2C0F58
secondary
#6B9231
accent
#EE3AA6
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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