#241152#241152

#241152 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.110 H 289.4°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#241152
RGBrgb(36, 17, 82)
HSLhsl(258, 66%, 19%)
HSVhsv(258, 79%, 32%)
CMYKcmyk(56.1%, 79.3%, 0%, 67.8%)
CIE-LABlab(11.86, 27.63, -36.15)
CIE-LCHlch(11.86, 45.50, 307.39°)
OKLaboklab(25.24% 0.0366 -0.1038)
OKLCHoklch(25.24% 0.11 289.4)
XYZxyz(2.4506, 1.3851, 8.1192)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241152 #3F5211
analogous
#111F52 #241152 #451152
triadic
#241152 #522411 #115224
tetradic
#241152 #52111F #3F5211 #115245
square
#241152 #52111F #3F5211 #115245
split-complementary
#241152 #524511 #1F5211
monochromatic
#0B0519 #0E061F #241152 #3A1C85 #5126B7

Accessibility & contrast

On white

16.44
#241152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#241152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241152
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241152#FFFFFF#000000##FFFFFF
##2411521.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002054
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#132230
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #241152;
/* rgb */ color: rgb(36, 17, 82);
/* oklch */ color: oklch(25.2% 0.110 289.4);
Tailwind
colors: {
  custom: {
    50: '#655183',
    500: '#241152',
    950: '#000000',
  },
}
SCSS
$custom: #241152;
$custom-light: #655183;
$custom-dark: #000000;
JSON
{
  "hex": "#241152",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 257.538,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25241,
    "c": 0.11012,
    "h": 289.4
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#241152
secondary
#728B34
accent
#E93FB7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241152

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

Preview Lab → · Contrast checker → · Palette generator →

#241152 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva