#241268#241268

#241268 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.138 H 282.3°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#241268
RGBrgb(36, 18, 104)
HSLhsl(253, 70%, 24%)
HSVhsv(253, 83%, 41%)
CMYKcmyk(65.4%, 82.7%, 0%, 59.2%)
CIE-LABlab(14.44, 34.21, -46.66)
CIE-LCHlch(14.44, 57.86, 306.25°)
OKLaboklab(27.77% 0.0293 -0.1346)
OKLCHoklch(27.77% 0.138 282.3)
XYZxyz(3.4418, 1.8069, 13.2614)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241268 #566812
analogous
#122B68 #241268 #4F1268
triadic
#241268 #682412 #126824
tetradic
#241268 #68122B #566812 #12684F
square
#241268 #68122B #566812 #12684F
split-complementary
#241268 #684F12 #2B6812
monochromatic
#09051A #120934 #241268 #361B9C #4824D0

Accessibility & contrast

On white

15.43
#241268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#241268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241268
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241268#FFFFFF#000000##FFFFFF
##2412681.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002166
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #241268;
/* rgb */ color: rgb(36, 18, 104);
/* oklch */ color: oklch(27.8% 0.138 282.3);
Tailwind
colors: {
  custom: {
    50: '#695394',
    500: '#241268',
    950: '#000000',
  },
}
SCSS
$custom: #241268;
$custom-light: #695394;
$custom-dark: #000000;
JSON
{
  "hex": "#241268",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 252.558,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27774,
    "c": 0.13773,
    "h": 282.3
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#241268
secondary
#8AA036
accent
#ED3BC8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #241268

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

Preview Lab → · Contrast checker → · Palette generator →

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