#2C153E#2C153E

#2C153E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.078 H 307.6°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#2C153E
RGBrgb(44, 21, 62)
HSLhsl(274, 49%, 16%)
HSVhsv(274, 66%, 24%)
CMYKcmyk(29%, 66.1%, 0%, 75.7%)
CIE-LABlab(12.09, 20.91, -21.81)
CIE-LCHlch(12.09, 30.22, 313.80°)
OKLaboklab(25.1% 0.0474 -0.0614)
OKLCHoklch(25.1% 0.078 307.6)
XYZxyz(2.1762, 1.4196, 4.7159)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C153E #273E15
analogous
#18153E #2C153E #3E153C
triadic
#2C153E #3E2C15 #153E2C
tetradic
#2C153E #3E1815 #273E15 #153C3E
square
#2C153E #3E1815 #273E15 #153C3E
split-complementary
#2C153E #3C3E15 #153E18
monochromatic
#100817 #100817 #2C153E #4C246C #6D3499

Accessibility & contrast

On white

16.36
#2C153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2C153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C153E
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C153E#FFFFFF#000000##FFFFFF
##2C153E1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061F3F
Deuteranopia (green-blind)
#0F203D
Tritanopia (blue-blind)
#291D27
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2c153e;
/* rgb */ color: rgb(44, 21, 62);
/* oklch */ color: oklch(25.1% 0.078 307.6);
Tailwind
colors: {
  custom: {
    50: '#675373',
    500: '#2c153e',
    950: '#000000',
  },
}
SCSS
$custom: #2c153e;
$custom-light: #675373;
$custom-dark: #000000;
JSON
{
  "hex": "#2c153e",
  "rgb": {
    "r": 44,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 273.659,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25102,
    "c": 0.07756,
    "h": 307.6
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#2C153E
secondary
#547639
accent
#D94F8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2C153E

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

Preview Lab → · Contrast checker → · Palette generator →

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