#231564#231564

#231564 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.130 H 281.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#231564
RGBrgb(35, 21, 100)
HSLhsl(251, 65%, 24%)
HSVhsv(251, 79%, 39%)
CMYKcmyk(65%, 79%, 0%, 60.8%)
CIE-LABlab(14.48, 31.10, -43.96)
CIE-LCHlch(14.48, 53.85, 305.28°)
OKLaboklab(27.64% 0.0267 -0.1268)
OKLCHoklch(27.64% 0.13 281.9)
XYZxyz(3.2608, 1.8135, 12.2323)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231564 #566415
analogous
#152E64 #231564 #4A1564
triadic
#231564 #642315 #156423
tetradic
#231564 #64152E #566415 #15644A
square
#231564 #64152E #566415 #15644A
split-complementary
#231564 #644A15 #2E6415
monochromatic
#090519 #110A31 #231564 #352097 #462AC9

Accessibility & contrast

On white

15.41
#231564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231564
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231564#FFFFFF#000000##FFFFFF
##2315641.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231564;
/* rgb */ color: rgb(35, 21, 100);
/* oklch */ color: oklch(27.6% 0.130 281.9);
Tailwind
colors: {
  custom: {
    50: '#675491',
    500: '#231564',
    950: '#000000',
  },
}
SCSS
$custom: #231564;
$custom-light: #675491;
$custom-dark: #000000;
JSON
{
  "hex": "#231564",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 250.633,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27642,
    "c": 0.12955,
    "h": 281.9
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#231564
secondary
#8A9B3A
accent
#E840CA
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231564

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

Preview Lab → · Contrast checker → · Palette generator →

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