#231466#231466

#231466 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.133 H 281.6°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#231466
RGBrgb(35, 20, 102)
HSLhsl(251, 67%, 24%)
HSVhsv(251, 80%, 40%)
CMYKcmyk(65.7%, 80.4%, 0%, 60%)
CIE-LABlab(14.49, 32.34, -45.25)
CIE-LCHlch(14.49, 55.62, 305.56°)
OKLaboklab(27.72% 0.0269 -0.1305)
OKLCHoklch(27.72% 0.133 281.6)
XYZxyz(3.3408, 1.8167, 12.7424)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231466 #576614
analogous
#142E66 #231466 #4C1466
triadic
#231466 #662314 #146623
tetradic
#231466 #66142E #576614 #14664C
square
#231466 #66142E #576614 #14664C
split-complementary
#231466 #664C14 #2E6614
monochromatic
#09051A #110A33 #231466 #351E99 #4628CC

Accessibility & contrast

On white

15.40
#231466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231466
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231466#FFFFFF#000000##FFFFFF
##2314661.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231466;
/* rgb */ color: rgb(35, 20, 102);
/* oklch */ color: oklch(27.7% 0.133 281.6);
Tailwind
colors: {
  custom: {
    50: '#685493',
    500: '#231466',
    950: '#000000',
  },
}
SCSS
$custom: #231466;
$custom-light: #685493;
$custom-dark: #000000;
JSON
{
  "hex": "#231466",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 102
  },
  "hsl": {
    "h": 250.976,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27721,
    "c": 0.13328,
    "h": 281.6
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#231466
secondary
#8B9D39
accent
#EA3ECB
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231466

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

Preview Lab → · Contrast checker → · Palette generator →

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