#241052#241052

#241052 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.111 H 289.7°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#241052
RGBrgb(36, 16, 82)
HSLhsl(258, 67%, 19%)
HSVhsv(258, 80%, 32%)
CMYKcmyk(56.1%, 80.5%, 0%, 67.8%)
CIE-LABlab(11.65, 28.21, -36.49)
CIE-LCHlch(11.65, 46.12, 307.71°)
OKLaboklab(25.1% 0.0376 -0.1048)
OKLCHoklch(25.1% 0.111 289.7)
XYZxyz(2.4354, 1.3547, 8.1142)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241052 #3E5210
analogous
#101D52 #241052 #451052
triadic
#241052 #522410 #105224
tetradic
#241052 #52101D #3E5210 #105245
square
#241052 #52101D #3E5210 #105245
split-complementary
#241052 #524510 #1D5210
monochromatic
#0B051A #0E061F #241052 #3A1A85 #5124B8

Accessibility & contrast

On white

16.52
#241052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#241052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241052
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241052#FFFFFF#000000##FFFFFF
##2410521.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241052;
/* rgb */ color: rgb(36, 16, 82);
/* oklch */ color: oklch(25.1% 0.111 289.7);
Tailwind
colors: {
  custom: {
    50: '#655083',
    500: '#241052',
    950: '#000000',
  },
}
SCSS
$custom: #241052;
$custom-light: #655083;
$custom-dark: #000000;
JSON
{
  "hex": "#241052",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 258.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25097,
    "c": 0.11136,
    "h": 289.7
  },
  "luminance": 0.01355
}

Semantic roles & 50–950 ramp

primary
#241052
secondary
#718C32
accent
#EA3EB6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241052

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

Preview Lab → · Contrast checker → · Palette generator →

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