#241668#241668

#241668 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.134 H 281.4°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#241668
RGBrgb(36, 22, 104)
HSLhsl(250, 65%, 25%)
HSVhsv(250, 79%, 41%)
CMYKcmyk(65.4%, 78.8%, 0%, 59.2%)
CIE-LABlab(15.21, 32.01, -45.38)
CIE-LCHlch(15.21, 55.53, 305.19°)
OKLaboklab(28.32% 0.0265 -0.1309)
OKLCHoklch(28.32% 0.134 281.4)
XYZxyz(3.5124, 1.9481, 13.2850)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241668 #5A6816
analogous
#163168 #241668 #4D1668
triadic
#241668 #682416 #166824
tetradic
#241668 #681631 #5A6816 #16684D
square
#241668 #681631 #5A6816 #16684D
split-complementary
#241668 #684D16 #316816
monochromatic
#090519 #130B35 #241668 #35219B #472BCD

Accessibility & contrast

On white

15.11
#241668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#241668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241668
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241668#FFFFFF#000000##FFFFFF
##2416681.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #241668;
/* rgb */ color: rgb(36, 22, 104);
/* oklch */ color: oklch(28.3% 0.134 281.4);
Tailwind
colors: {
  custom: {
    50: '#695594',
    500: '#241668',
    950: '#000000',
  },
}
SCSS
$custom: #241668;
$custom-light: #695594;
$custom-dark: #000000;
JSON
{
  "hex": "#241668",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 250.244,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28316,
    "c": 0.13356,
    "h": 281.4
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#241668
secondary
#8E9F3B
accent
#E840CB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #241668

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

Preview Lab → · Contrast checker → · Palette generator →

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