#231368#231368

#231368 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.137 H 281.4°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#231368
RGBrgb(35, 19, 104)
HSLhsl(251, 69%, 24%)
HSVhsv(251, 82%, 41%)
CMYKcmyk(66.3%, 81.7%, 0%, 59.2%)
CIE-LABlab(14.53, 33.56, -46.52)
CIE-LCHlch(14.53, 57.36, 305.81°)
OKLaboklab(27.81% 0.027 -0.1342)
OKLCHoklch(27.81% 0.137 281.4)
XYZxyz(3.4239, 1.8223, 13.2653)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231368 #586813
analogous
#132E68 #231368 #4E1368
triadic
#231368 #682313 #136823
tetradic
#231368 #68132E #586813 #13684E
square
#231368 #68132E #586813 #13684E
split-complementary
#231368 #684E13 #2E6813
monochromatic
#09051A #120A34 #231368 #341C9C #4626CF

Accessibility & contrast

On white

15.39
#231368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231368
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231368#FFFFFF#000000##FFFFFF
##2313681.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231368;
/* rgb */ color: rgb(35, 19, 104);
/* oklch */ color: oklch(27.8% 0.137 281.4);
Tailwind
colors: {
  custom: {
    50: '#695394',
    500: '#231368',
    950: '#000000',
  },
}
SCSS
$custom: #231368;
$custom-light: #695394;
$custom-dark: #000000;
JSON
{
  "hex": "#231368",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 251.294,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2781,
    "c": 0.1369,
    "h": 281.4
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#231368
secondary
#8C9F37
accent
#EC3CCB
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231368

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

Preview Lab → · Contrast checker → · Palette generator →

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