#231367#231367

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

Color values

HEX#231367
RGBrgb(35, 19, 103)
HSLhsl(251, 69%, 24%)
HSVhsv(251, 82%, 40%)
CMYKcmyk(66%, 81.6%, 0%, 59.6%)
CIE-LABlab(14.41, 33.23, -46.05)
CIE-LCHlch(14.41, 56.78, 305.82°)
OKLaboklab(27.7% 0.0273 -0.1328)
OKLCHoklch(27.7% 0.136 281.6)
XYZxyz(3.3734, 1.8021, 12.9994)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231367 #576713
analogous
#132D67 #231367 #4D1367
triadic
#231367 #672313 #136723
tetradic
#231367 #67132D #576713 #13674D
square
#231367 #67132D #576713 #13674D
split-complementary
#231367 #674D13 #2D6713
monochromatic
#09051A #110933 #231367 #351D9B #4626CE

Accessibility & contrast

On white

15.44
#231367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231367
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231367#FFFFFF#000000##FFFFFF
##2313671.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231367;
/* rgb */ color: rgb(35, 19, 103);
/* oklch */ color: oklch(27.7% 0.136 281.6);
Tailwind
colors: {
  custom: {
    50: '#685393',
    500: '#231367',
    950: '#000000',
  },
}
SCSS
$custom: #231367;
$custom-light: #685393;
$custom-dark: #000000;
JSON
{
  "hex": "#231367",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 251.429,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27697,
    "c": 0.13562,
    "h": 281.6
  },
  "luminance": 0.01802
}

Semantic roles & 50–950 ramp

primary
#231367
secondary
#8B9E37
accent
#EC3CCA
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231367

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

Preview Lab → · Contrast checker → · Palette generator →

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