#2C0F53#2C0F53

#2C0F53 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.114 H 297.0°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#2C0F53
RGBrgb(44, 15, 83)
HSLhsl(266, 69%, 19%)
HSVhsv(266, 82%, 33%)
CMYKcmyk(47%, 81.9%, 0%, 67.5%)
CIE-LABlab(12.62, 30.52, -35.55)
CIE-LCHlch(12.62, 46.85, 310.65°)
OKLaboklab(26.05% 0.052 -0.1017)
OKLCHoklch(26.05% 0.114 297)
XYZxyz(2.7705, 1.5016, 8.3258)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0F53 #36530F
analogous
#0F1453 #2C0F53 #4E0F53
triadic
#2C0F53 #532C0F #0F532C
tetradic
#2C0F53 #530F14 #36530F #0F534E
square
#2C0F53 #530F14 #36530F #0F534E
split-complementary
#2C0F53 #534E0F #14530F
monochromatic
#0E051A #11061F #2C0F53 #471887 #6322BB

Accessibility & contrast

On white

16.15
#2C0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2C0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0F53
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0F53#FFFFFF#000000##FFFFFF
##2C0F531.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#222130
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2c0f53;
/* rgb */ color: rgb(44, 15, 83);
/* oklch */ color: oklch(26.0% 0.114 297.0);
Tailwind
colors: {
  custom: {
    50: '#6a5184',
    500: '#2c0f53',
    950: '#000000',
  },
}
SCSS
$custom: #2c0f53;
$custom-light: #6a5184;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0f53",
  "rgb": {
    "r": 44,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 265.588,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26047,
    "c": 0.11424,
    "h": 297
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#2C0F53
secondary
#668D31
accent
#EC3CA1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2C0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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