#231462#231462

#231462 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.128 H 282.6°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#231462
RGBrgb(35, 20, 98)
HSLhsl(252, 66%, 23%)
HSVhsv(252, 80%, 38%)
CMYKcmyk(64.3%, 79.6%, 0%, 61.6%)
CIE-LABlab(14.05, 31.01, -43.33)
CIE-LCHlch(14.05, 53.28, 305.59°)
OKLaboklab(27.28% 0.028 -0.1249)
OKLCHoklch(27.28% 0.128 282.6)
XYZxyz(3.1472, 1.7393, 11.7228)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231462 #536214
analogous
#142C62 #231462 #4A1462
triadic
#231462 #622314 #146223
tetradic
#231462 #62142C #536214 #14624A
square
#231462 #62142C #536214 #14624A
split-complementary
#231462 #624A14 #2C6214
monochromatic
#090519 #110A2F #231462 #351E95 #4729C8

Accessibility & contrast

On white

15.58
#231462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#231462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231462
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231462#FFFFFF#000000##FFFFFF
##2314621.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002664
Deuteranopia (green-blind)
#002161
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231462;
/* rgb */ color: rgb(35, 20, 98);
/* oklch */ color: oklch(27.3% 0.128 282.6);
Tailwind
colors: {
  custom: {
    50: '#675490',
    500: '#231462',
    950: '#000000',
  },
}
SCSS
$custom: #231462;
$custom-light: #675490;
$custom-dark: #000000;
JSON
{
  "hex": "#231462",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 251.538,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27279,
    "c": 0.12802,
    "h": 282.6
  },
  "luminance": 0.01739
}

Semantic roles & 50–950 ramp

primary
#231462
secondary
#879938
accent
#E93FC8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #231462

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

Preview Lab → · Contrast checker → · Palette generator →

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