#230E5F#230E5F

#230E5F is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.130 H 284.8°. Best body text is #FFFFFF at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#230E5F
RGBrgb(35, 14, 95)
HSLhsl(256, 74%, 21%)
HSVhsv(256, 85%, 37%)
CMYKcmyk(63.2%, 85.3%, 0%, 62.7%)
CIE-LABlab(12.59, 33.27, -43.74)
CIE-LCHlch(12.59, 54.95, 307.26°)
OKLaboklab(26.16% 0.0333 -0.126)
OKLCHoklch(26.16% 0.13 284.8)
XYZxyz(2.9151, 1.4974, 10.9597)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E5F #4A5F0E
analogous
#0E225F #230E5F #4C0E5F
triadic
#230E5F #5F230E #0E5F23
tetradic
#230E5F #5F0E22 #4A5F0E #0E5F4C
square
#230E5F #5F0E22 #4A5F0E #0E5F4C
split-complementary
#230E5F #5F4C0E #225F0E
monochromatic
#0A041B #0F062A #230E5F #371694 #4A1ECA

Accessibility & contrast

On white

16.16
#230E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#230E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E5F
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E5F#FFFFFF#000000##FFFFFF
##230E5F1.0016.161.3016.16
#FFFFFF16.161.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001E5E
Tritanopia (blue-blind)
#012637
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #230e5f;
/* rgb */ color: rgb(35, 14, 95);
/* oklch */ color: oklch(26.2% 0.130 284.8);
Tailwind
colors: {
  custom: {
    50: '#67508d',
    500: '#230e5f',
    950: '#000000',
  },
}
SCSS
$custom: #230e5f;
$custom-light: #67508d;
$custom-dark: #000000;
JSON
{
  "hex": "#230e5f",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 255.556,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26156,
    "c": 0.13037,
    "h": 284.8
  },
  "luminance": 0.01498
}

Semantic roles & 50–950 ramp

primary
#230E5F
secondary
#7E9930
accent
#F137C1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #230E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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