#231366#231366

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

Color values

HEX#231366
RGBrgb(35, 19, 102)
HSLhsl(252, 69%, 24%)
HSVhsv(252, 81%, 40%)
CMYKcmyk(65.7%, 81.4%, 0%, 60%)
CIE-LABlab(14.30, 32.90, -45.57)
CIE-LCHlch(14.30, 56.21, 305.83°)
OKLaboklab(27.58% 0.0276 -0.1315)
OKLCHoklch(27.58% 0.134 281.9)
XYZxyz(3.3235, 1.7821, 12.7366)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231366 #566613
analogous
#132C66 #231366 #4C1366
triadic
#231366 #662313 #136623
tetradic
#231366 #66132C #566613 #13664C
square
#231366 #66132C #566613 #13664C
split-complementary
#231366 #664C13 #2C6613
monochromatic
#09051A #110932 #231366 #351D9A #4626CD

Accessibility & contrast

On white

15.48
#231366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231366
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231366#FFFFFF#000000##FFFFFF
##2313661.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231366;
/* rgb */ color: rgb(35, 19, 102);
/* oklch */ color: oklch(27.6% 0.134 281.9);
Tailwind
colors: {
  custom: {
    50: '#685393',
    500: '#231366',
    950: '#000000',
  },
}
SCSS
$custom: #231366;
$custom-light: #685393;
$custom-dark: #000000;
JSON
{
  "hex": "#231366",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 251.566,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27584,
    "c": 0.13433,
    "h": 281.9
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#231366
secondary
#8A9D37
accent
#EB3CCA
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231366

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

Preview Lab → · Contrast checker → · Palette generator →

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