#2C0D58#2C0D58

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

Color values

HEX#2C0D58
RGBrgb(44, 13, 88)
HSLhsl(265, 74%, 20%)
HSVhsv(265, 85%, 35%)
CMYKcmyk(50%, 85.2%, 0%, 65.5%)
CIE-LABlab(12.78, 32.95, -38.67)
CIE-LCHlch(12.78, 50.81, 310.43°)
OKLaboklab(26.32% 0.0522 -0.1109)
OKLCHoklch(26.32% 0.123 295.2)
XYZxyz(2.9436, 1.5278, 9.3704)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0D58 #39580D
analogous
#0D1458 #2C0D58 #520D58
triadic
#2C0D58 #582C0D #0D582C
tetradic
#2C0D58 #580D14 #39580D #0D5852
square
#2C0D58 #580D14 #39580D #0D5852
split-complementary
#2C0D58 #58520D #14580D
monochromatic
#0D041B #110523 #2C0D58 #47158D #611DC3

Accessibility & contrast

On white

16.08
#2C0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C0D58
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0D58#FFFFFF#000000##FFFFFF
##2C0D581.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#1F2233
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c0d58;
/* rgb */ color: rgb(44, 13, 88);
/* oklch */ color: oklch(26.3% 0.123 295.2);
Tailwind
colors: {
  custom: {
    50: '#6b5088',
    500: '#2c0d58',
    950: '#000000',
  },
}
SCSS
$custom: #2c0d58;
$custom-light: #6b5088;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0d58",
  "rgb": {
    "r": 44,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 264.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26318,
    "c": 0.12256,
    "h": 295.2
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#2C0D58
secondary
#69932E
accent
#F137A4
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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