#231567#231567

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

Color values

HEX#231567
RGBrgb(35, 21, 103)
HSLhsl(250, 66%, 24%)
HSVhsv(250, 80%, 40%)
CMYKcmyk(66%, 79.6%, 0%, 59.6%)
CIE-LABlab(14.80, 32.11, -45.40)
CIE-LCHlch(14.80, 55.61, 305.27°)
OKLaboklab(27.97% 0.0259 -0.131)
OKLCHoklch(27.97% 0.134 281.2)
XYZxyz(3.4087, 1.8727, 13.0112)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231567 #596715
analogous
#153067 #231567 #4C1567
triadic
#231567 #672315 #156723
tetradic
#231567 #671530 #596715 #15674C
square
#231567 #671530 #596715 #15674C
split-complementary
#231567 #674C15 #306715
monochromatic
#090519 #120B34 #231567 #341F9A #462ACD

Accessibility & contrast

On white

15.28
#231567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#231567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231567
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231567#FFFFFF#000000##FFFFFF
##2315671.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#002C3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231567;
/* rgb */ color: rgb(35, 21, 103);
/* oklch */ color: oklch(28.0% 0.134 281.2);
Tailwind
colors: {
  custom: {
    50: '#685493',
    500: '#231567',
    950: '#000000',
  },
}
SCSS
$custom: #231567;
$custom-light: #685493;
$custom-dark: #000000;
JSON
{
  "hex": "#231567",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 250.244,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.27972,
    "c": 0.13351,
    "h": 281.2
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#231567
secondary
#8D9E3A
accent
#E93FCC
background
#F6F5F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231567

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

Preview Lab → · Contrast checker → · Palette generator →

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