#230E55#230E55

#230E55 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.118 H 288.2°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#230E55
RGBrgb(35, 14, 85)
HSLhsl(258, 72%, 19%)
HSVhsv(258, 84%, 33%)
CMYKcmyk(58.8%, 83.5%, 0%, 66.7%)
CIE-LABlab(11.46, 30.11, -38.85)
CIE-LCHlch(11.46, 49.15, 307.77°)
OKLaboklab(25.03% 0.0367 -0.1118)
OKLCHoklch(25.03% 0.118 288.2)
XYZxyz(2.4894, 1.3272, 8.7176)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E55 #40550E
analogous
#0E1D55 #230E55 #470E55
triadic
#230E55 #55230E #0E5523
tetradic
#230E55 #550E1D #40550E #0E5547
square
#230E55 #550E1D #40550E #0E5547
split-complementary
#230E55 #55470E #1D550E
monochromatic
#0B041A #0D0520 #230E55 #39178A #4E1FBE

Accessibility & contrast

On white

16.60
#230E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#230E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E55
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E55#FFFFFF#000000##FFFFFF
##230E551.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002057
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#0E2231
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230e55;
/* rgb */ color: rgb(35, 14, 85);
/* oklch */ color: oklch(25.0% 0.118 288.2);
Tailwind
colors: {
  custom: {
    50: '#654f86',
    500: '#230e55',
    950: '#000000',
  },
}
SCSS
$custom: #230e55;
$custom-light: #654f86;
$custom-dark: #000000;
JSON
{
  "hex": "#230e55",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 257.746,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25033,
    "c": 0.11764,
    "h": 288.2
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#230E55
secondary
#738F30
accent
#EE39B9
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230E55

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

Preview Lab → · Contrast checker → · Palette generator →

#230E55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva