#231568#231568

#231568 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.135 H 281.0°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#231568
RGBrgb(35, 21, 104)
HSLhsl(250, 66%, 25%)
HSVhsv(250, 80%, 41%)
CMYKcmyk(66.3%, 79.8%, 0%, 59.2%)
CIE-LABlab(14.91, 32.44, -45.88)
CIE-LCHlch(14.91, 56.19, 305.27°)
OKLaboklab(28.08% 0.0257 -0.1324)
OKLCHoklch(28.08% 0.135 281)
XYZxyz(3.4592, 1.8929, 13.2771)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231568 #5A6815
analogous
#153168 #231568 #4C1568
triadic
#231568 #682315 #156823
tetradic
#231568 #681531 #5A6815 #15684C
square
#231568 #681531 #5A6815 #15684C
split-complementary
#231568 #684C15 #316815
monochromatic
#090519 #120B35 #231568 #341F9B #452ACE

Accessibility & contrast

On white

15.23
#231568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#231568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231568
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231568#FFFFFF#000000##FFFFFF
##2315681.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231568;
/* rgb */ color: rgb(35, 21, 104);
/* oklch */ color: oklch(28.1% 0.135 281.0);
Tailwind
colors: {
  custom: {
    50: '#685494',
    500: '#231568',
    950: '#000000',
  },
}
SCSS
$custom: #231568;
$custom-light: #685494;
$custom-dark: #000000;
JSON
{
  "hex": "#231568",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 250.12,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28082,
    "c": 0.13482,
    "h": 281
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#231568
secondary
#8E9F3A
accent
#E93ECD
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231568

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

Preview Lab → · Contrast checker → · Palette generator →

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