#241552#241552

#241552 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.105 H 288.1°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#241552
RGBrgb(36, 21, 82)
HSLhsl(255, 59%, 20%)
HSVhsv(255, 74%, 32%)
CMYKcmyk(56.1%, 74.4%, 0%, 67.8%)
CIE-LABlab(12.74, 25.19, -34.71)
CIE-LCHlch(12.74, 42.89, 305.97°)
OKLaboklab(25.87% 0.0325 -0.0996)
OKLCHoklch(25.87% 0.105 288.1)
XYZxyz(2.5183, 1.5205, 8.1418)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241552 #435215
analogous
#152552 #241552 #421552
triadic
#241552 #522415 #155224
tetradic
#241552 #521525 #435215 #155242
square
#241552 #521525 #435215 #155242
split-complementary
#241552 #524215 #255215
monochromatic
#0B0618 #0F0921 #241552 #392183 #4F2EB3

Accessibility & contrast

On white

16.10
#241552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#241552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241552
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241552#FFFFFF#000000##FFFFFF
##2415521.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#001F51
Tritanopia (blue-blind)
#132431
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #241552;
/* rgb */ color: rgb(36, 21, 82);
/* oklch */ color: oklch(25.9% 0.105 288.1);
Tailwind
colors: {
  custom: {
    50: '#645383',
    500: '#241552',
    950: '#000000',
  },
}
SCSS
$custom: #241552;
$custom-light: #645383;
$custom-dark: #000000;
JSON
{
  "hex": "#241552",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 254.754,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.25868,
    "c": 0.1048,
    "h": 288.1
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#241552
secondary
#768A39
accent
#E245BC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241552

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

Preview Lab → · Contrast checker → · Palette generator →

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