#231267#231267

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

Color values

HEX#231267
RGBrgb(35, 18, 103)
HSLhsl(252, 70%, 24%)
HSVhsv(252, 83%, 40%)
CMYKcmyk(66%, 82.5%, 0%, 59.6%)
CIE-LABlab(14.23, 33.77, -46.35)
CIE-LCHlch(14.23, 57.35, 306.07°)
OKLaboklab(27.57% 0.028 -0.1337)
OKLCHoklch(27.57% 0.137 281.8)
XYZxyz(3.3569, 1.7690, 12.9939)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231267 #566712
analogous
#122B67 #231267 #4D1267
triadic
#231267 #672312 #126723
tetradic
#231267 #67122B #566712 #12674D
square
#231267 #67122B #566712 #12674D
split-complementary
#231267 #674D12 #2B6712
monochromatic
#09051A #110933 #231267 #351B9B #4624CF

Accessibility & contrast

On white

15.51
#231267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231267
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231267#FFFFFF#000000##FFFFFF
##2312671.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231267;
/* rgb */ color: rgb(35, 18, 103);
/* oklch */ color: oklch(27.6% 0.137 281.8);
Tailwind
colors: {
  custom: {
    50: '#685393',
    500: '#231267',
    950: '#000000',
  },
}
SCSS
$custom: #231267;
$custom-light: #685393;
$custom-dark: #000000;
JSON
{
  "hex": "#231267",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 252,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27566,
    "c": 0.13662,
    "h": 281.8
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#231267
secondary
#8A9F36
accent
#ED3BC9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231267

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

Preview Lab → · Contrast checker → · Palette generator →

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