#241352#241352

#241352 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.108 H 288.8°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#241352
RGBrgb(36, 19, 82)
HSLhsl(256, 62%, 20%)
HSVhsv(256, 77%, 32%)
CMYKcmyk(56.1%, 76.8%, 0%, 67.8%)
CIE-LABlab(12.29, 26.44, -35.45)
CIE-LCHlch(12.29, 44.22, 306.71°)
OKLaboklab(25.55% 0.0346 -0.1018)
OKLCHoklch(25.55% 0.108 288.8)
XYZxyz(2.4830, 1.4499, 8.1300)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241352 #415213
analogous
#132252 #241352 #431352
triadic
#241352 #522413 #135224
tetradic
#241352 #521322 #415213 #135243
square
#241352 #521322 #415213 #135243
split-complementary
#241352 #524313 #225213
monochromatic
#0B0619 #0E0720 #241352 #3A1F84 #502AB5

Accessibility & contrast

On white

16.28
#241352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#241352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241352
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241352#FFFFFF#000000##FFFFFF
##2413521.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#132331
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #241352;
/* rgb */ color: rgb(36, 19, 82);
/* oklch */ color: oklch(25.5% 0.108 288.8);
Tailwind
colors: {
  custom: {
    50: '#645283',
    500: '#241352',
    950: '#000000',
  },
}
SCSS
$custom: #241352;
$custom-light: #645283;
$custom-dark: #000000;
JSON
{
  "hex": "#241352",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 256.19,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25545,
    "c": 0.10752,
    "h": 288.8
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#241352
secondary
#748A36
accent
#E542B9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #241352

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

Preview Lab → · Contrast checker → · Palette generator →

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